note 15252 deleted from function.microtime by jimw

From: Date: Wed, 02 Jan 2002 11:21:43 +0000
Subject: note 15252 deleted from function.microtime by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-24217@lists.php.net to get a copy of this message
we found out, that if you print the result of microtime in a cycle you will see that when the microseconds - part changes from 0.999999 to 0.000000 the seconds - part does not change. really amazing, but true if you want to check this out try this little script: $begin = time(); do{ echo microtime(); echo "<br>"; } while (($begin + 2) > time()); we used gettimeofday and the source worked

« previous php.notes (#24217) next »