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
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-29 02:10:39 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();