note 29205 added to function.microtime

From: Date: Thu, 06 Feb 2003 00:38:02 +0000
Subject: note 29205 added to function.microtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-43489@lists.php.net to get a copy of this message
<? $sStart = microtime(); //time at start of script // process script $sEnd = microtime(); //after processing $aA = explode(' ',$sStart.' '.$sEnd); //seperate values and put parts in array $duration=sprintf('%03.8f Seconds',($aA[2]+$aA[3])-($aA[0]+$aA[1])); //calculate and store //from: http://www.yapf.net/faq.php?cmd=viewitem&itemid=617 ?> -- http://www.php.net/manual/en/function.microtime.php http://master.php.net/manage/user-notes.php?action=edit+29205 http://master.php.net/manage/user-notes.php?action=delete+29205 http://master.php.net/manage/user-notes.php?action=reject+29205

« previous php.notes (#43489) next »