note 11744 added to microtime
| From: | oyvindmo at initio dot no | Date: | Mon, 05 Mar 2001 15:22:42 +0000 |
| Subject: | note 11744 added to microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11896@lists.php.net to get a copy of this message | ||
re dipling's code above:
$timer = strtok(microtime(), ' ') + strtok(' ');
...works just as well. I prefer to avoid "one-shot" variables unless using them would
make the code a lot clearer.
http://www.php.net/manual/en/function.microtime.php