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.

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

This package is auto-updated.

Last update: 2024-05-29 04:21:47 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();