wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



timer_float › WordPress Function

Da5.8.0
Deprecaton/a
timer_float ( Nessun parametro )
Ritorna:
  • (float) Seconds since the PHP script started.
Definito a:
Codex:

Gets the time elapsed so far during this PHP script.

Uses REQUEST_TIME_FLOAT that appeared in PHP 5.4.0.


Sorgenti

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