note 39889 added to function.microtime
| From: | kyong at rn2 dot php dot net | Date: | Sat, 14 Feb 2004 07:36:14 +0000 |
| Subject: | note 39889 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65130@lists.php.net to get a copy of this message | ||
please correct getmicrotime() like this,
<?php
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec/1E6 + (float)$sec);
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.microtime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39889
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39889&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39889&report=yes
Search -- http://master.php.net/manage/user-notes.php