note 12032 added to function.microtime.php
| From: | php-general at lists dot php dot net | Date: | Mon, 19 Mar 2001 21:19:06 +0000 |
| Subject: | note 12032 added to function.microtime.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12552@lists.php.net to get a copy of this message | ||
With my installation (PHP 4.0.4pl1) the order of the returned values is reversed from the example in
the docs.
<P>
$mtime = microtime();
<BR>list($item1, $item2) = explode(",", $mtime) ;
<BR> returns seconds (sec) in item2, and microseconds (usec) in item1.
http://www.php.net/manual/en/function.microtime.php