wpseek.com
A WordPress-centric search engine for devs and theme authors



timer_float › WordPress Function

Since5.8.0
Deprecatedn/a
timer_float ( No parameters )
Returns:
  • (float) Seconds since the PHP script started.
Defined at:
Codex:

Gets the time elapsed so far during this PHP script.



Source

function timer_float() {
	return microtime( true ) - $_SERVER['REQUEST_TIME_FLOAT'];
}