note 26166 deleted from function.microtime by et

From: Date: Wed, 23 Jul 2003 15:25:03 +0000
Subject: note 26166 deleted from function.microtime by et
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52492@lists.php.net to get a copy of this message
Note Submitter: tonicpeddler@com.aol ---- My microtime function doesn't seem to know which way is up. I include a file in every script. The first line of code in the include file is $begin_time = microtime(); A function within the include file is the LAST thing called during script execution. it says: global $begin_time; $total time = microtime() - $begin_time; Now the outcome is (very strange) sometimes negative, sometimes positive. Always around 0.2 through -0.2.

« previous php.notes (#52492) next »