note 52933 deleted from function.microtime by tularis
| From: | tularis@php.net | Date: | Sun, 22 Jun 2008 12:14:45 +0000 |
| Subject: | note 52933 deleted from function.microtime by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140702@lists.php.net to get a copy of this message | ||
Note Submitter: unluckypixie
----
I don't know why no-one else has suggested this, but clearly the easiest way to replicate the
PHP5 behaviour is to do:
$mtime = array_sum(explode(" ",microtime()));
I challenge anyone to write it shorter and neater than that ;o)