note 103077 deleted from function.microtime by danbrown
| From: | danbrown@php.net | Date: | Thu, 24 Mar 2011 13:55:50 +0000 |
| Subject: | note 103077 deleted from function.microtime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178158@lists.php.net to get a copy of this message | ||
Note Submitter: adrianguenter at NOSPAM dot gmail dot com
----
For a clock_gettime and clock_getres PHP interface implementation on *nix (for CLOCK_MONOTONIC
access, for example) there is an extension @ https://github.com/adrianguenter/php_bettertime
For example, to get the monotonic system clock:
<?php
$monoticTime = clock_gettime(CLOCK_MONOTONIC);
// float(171336.01908437)
?>