wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



timer_float › WordPress Function

Seit5.8.0
Veraltetn/v
timer_float ( Keine Parameter )
Gibt zurück:
  • (float) Seconds since the PHP script started.
Definiert in:
Codex:

Gets the time elapsed so far during this PHP script.

Uses REQUEST_TIME_FLOAT that appeared in PHP 5.4.0.


Quellcode

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