wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



timer_float › WordPress Function

Od5.8.0
Przestarzałyn/a
timer_float ( Brak parametrów )
Powrót:
  • (float) Seconds since the PHP script started.
Zdefiniowane na:
Codex:

Gets the time elapsed so far during this PHP script.

Uses REQUEST_TIME_FLOAT that appeared in PHP 5.4.0.


Źródło

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