amanangira/script-execution-time

There is no license information available for the latest version (dev-master) of this package.

A library to calculate time taken for a script to execute.

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/amanangira/script-execution-time

dev-master 2019-01-29 11:30 UTC

This package is auto-updated.

Last update: 2025-09-29 02:14:30 UTC


README

A library to calculate time taken for a script to execute.

Example

$runTime = new ExecutionTime;
$runTime->startTime();
sleep( 2 );
$runTime->endTime();
echo "Time taken to run in seconds: " . $runTime->getTime();