function microtime TLXEMPHZIA5CWMWMI6XDV2NIFWC2V3SIROQCP6Q


microtimePodręcznik PHPPoprzedniNastępnymicrotime (PHP 3, PHP 4 >= 4.0.0)microtime --  Return current UNIX timestamp with microsecondsDescriptionstring microtime (void) Returns the string "msec sec" where sec is the current time measured in the number of seconds since the Unix Epoch (0:00:00 January 1, 1970 GMT), and msec is the microseconds part. This function is only available on operating systems that support the gettimeofday() system call. Both portions of the string are returned in units of seconds. Przykład 1. microtime() examplefunction getmicrotime(){ list($usec, $sec) = explode(" ",microtime()); return ((float)$usec + (float)$sec); } $time_start = getmicrotime(); for ($i=0; $i < 1000; $i++){ //do nothing, 1000 times } $time_end = getmicrotime(); $time = $time_end - $time_start; echo "Did nothing in $time seconds"; See also time(). PoprzedniSpis treściNastępnylocaltimePoczątek rozdziałumktime

Wyszukiwarka

Podobne podstrony:
function microtime
function microtime
function fdf next field name
function ccvs void
function mysql error
function mcal event set end
function mcrypt cbc
Functional Origins of Religious Concepts Ontological and Strategic Selection in Evolved Minds
function domnode get content
function mcrypt module get algo key size
function pdf execute image

więcej podobnych podstron