Posts Tagged Msec
Find out PHP execution time
Posted by in General on March 11th, 2010
function microtime_float ()
{
list ($msec, $sec) = explode(‘ ‘, microtime());
$microtime = (float)$msec + (float)$sec;
return $microtime;
}
$startdebug = microtime_float();
$end = microtime_float();
echo ‘Script Execution Time: ‘ . round($end – $startdebug, 3) . ‘ seconds’;









