Return to Snippet

Revision: 6119
at April 29, 2008 08:47 by ibomb


Initial Code
<?php 
$start = (float) array_sum(explode(' ',microtime())); 
 
// put you code that wanted to render at here 
	 
$end = (float) array_sum(explode(' ',microtime())); 
 
echo "Processing time: ". sprintf("%.4f", ($end-$start))." seconds"; 
?>

Initial URL
blog.doguki.com

Initial Description


Initial Title
Calculating script execution time

Initial Tags
php, script

Initial Language
PHP