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.
Package info
github.com/amanangira/script-execution-time
pkg:composer/amanangira/script-execution-time
dev-master
2019-01-29 11:30 UTC
This package is auto-updated.
Last update: 2026-03-01 00:26:51 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();