note 12032 deleted from function.microtime.php by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Tue, 20 Mar 2001 00:20:25 +0000 |
| Subject: | note 12032 deleted from function.microtime.php by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12560@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.