timer_float()
Get the time elapsed so far during this PHP script.
Description
Uses REQUEST_TIME_FLOAT that appeared in PHP 5.4.0.
Return
(float) Seconds since the PHP script started.
Source
File: wp-includes/load.php
function timer_float() { return microtime( true ) - $_SERVER['REQUEST_TIME_FLOAT']; }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |