note 12008 added to function.microtime.php
| From: | toinbloo at nospam dot hetnet dot nl | Date: | Sat, 17 Mar 2001 23:51:19 +0000 |
| Subject: | note 12008 added to function.microtime.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12512@lists.php.net to get a copy of this message | ||
The list($sec, $usec) of Example 1 is wrong: the returned string is of the form "0.99522300
984872507" with the first part the microseconds and not the seconds. The example does work
because the addition doesn't care about the names.
http://www.php.net/manual/en/function.microtime.php