note 129340 added to function.microtime
| From: | buckybytes | Date: | Sun, 17 Mar 2024 20:09:56 +0000 |
| Subject: | note 129340 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221249@lists.php.net to get a copy of this message | ||
Just in case the formatting of the various time function returns isn't clear:
<?php
echo('time() = ');
var_dump(time());
echo("\n\r" . 'microtime() = ');
var_dump(microtime());
echo("\n\r hrtime(1) = ");
var_dump(hrtime(1));
echo("\n\r hrtime(0) = ");
var_dump(hrtime(0));
?>
Returns:
time() = int(1710705201)
microtime() = string(21) "0.70659700 1710705201"
hrtime(1) = int(2339036903220322)
hrtime(0) = array(2) {
[0]=>
int(2339036)
[1]=>
int(903284122)
}
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.131 (proxied: 173.21.213.237)
----
Manual Page -- https://php.net/manual/en/function.microtime.php
Edit -- https://main.php.net/note/edit/129340
Del: integrated -- https://main.php.net/note/delete/129340/integrated
Del: useless -- https://main.php.net/note/delete/129340/useless
Del: bad code -- https://main.php.net/note/delete/129340/bad+code
Del: spam -- https://main.php.net/note/delete/129340/spam
Del: non-english -- https://main.php.net/note/delete/129340/non-english
Del: in docs -- https://main.php.net/note/delete/129340/in+docs
Del: other reasons-- https://main.php.net/note/delete/129340
Reject -- https://main.php.net/note/reject/129340
Search -- https://main.php.net/manage/user-notes.php