note 39889 deleted from function.microtime by irchtml
| From: | irchtml@php.net | Date: | Wed, 25 Feb 2004 14:27:19 +0000 |
| Subject: | note 39889 deleted from function.microtime by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65724@lists.php.net to get a copy of this message | ||
Note Submitter: kyong
----
please correct getmicrotime() like this,
<?php
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec/1E6 + (float)$sec);
}
?>