Home
last modified time | relevance | path

Searched refs:microtime (Results 1 – 25 of 45) sorted by relevance

12

/PHP-7.3/ext/date/tests/
H A Dmicrotime_basic.phpt2 Test return type and value for expected input microtime()
6 * proto mixed microtime([bool get_as_float])
7 * Function is implemented in ext/standard/microtime.c
10 var_dump(microtime());
11 var_dump(microtime(true));
12 var_dump(microtime(false));
H A Dbug48187.phpt2 Bug #48187 (DateTime::diff() corrupting microtime() result)
11 $begin_u = microtime(true);
14 if (microtime(true) - $begin_u < 1) {
15 var_dump('microtime() difference less 1 second');
17 var_dump('microtime() difference greater or equal 1 second');
27 string(36) "microtime() difference less 1 second"
H A Dmicrotime_error.phpt2 Test wrong number of arguments for microtime()
6 * proto mixed microtime([bool get_as_float])
7 * Function is implemented in ext/standard/microtime.c
14 var_dump(microtime($opt_arg_0, $extra_arg));
28 var_dump(microtime($bad_arg));
36 Warning: microtime() expects at most 1 parameter, 2 given in %s on line 11
60 Warning: microtime() expects parameter 1 to be bool, array given in %s on line 25
66 Warning: microtime() expects parameter 1 to be bool, object given in %s on line 25
H A Dbug36988.phpt8 $start = microtime(true);
/PHP-7.3/ext/standard/tests/
H A Dbug64370_var1.phpt2 Test bug #64370 microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']
8 echo "microtime(true): " . microtime(true) . "\n";
9 $d = (microtime(true)-$_SERVER['REQUEST_TIME_FLOAT'])*1000;
18 microtime(true): %f
H A Dbug64370_var2.phpt2 Test bug #64370 sequential microtime(true) calls
8 $m0 = microtime(true);
9 $m1 = microtime(true);
/PHP-7.3/ext/standard/tests/time/
H A D001.phpt2 microtime() function
5 if (!function_exists('microtime')) die('skip microtime() not available');
18 list($micro,$time)=explode(" ",microtime());
/PHP-7.3/ext/standard/tests/hrtime/
H A Dhrtime.phpt2 Test hrtime() aligns with microtime()
6 $m0 = microtime(true);
10 $m1 = microtime(true);
/PHP-7.3/tests/basic/
H A Dtimeout_config.inc7 $until = microtime(TRUE) + $how_long;
9 while ($until > microtime(TRUE));
/PHP-7.3/Zend/tests/
H A Dconcat_003.phpt8 $time = microtime(TRUE);
24 $time = microtime(TRUE);
31 $t = microtime(TRUE) - $time;
/PHP-7.3/ext/hash/
H A Dbench.php79 $start = microtime(true);
83 $time[$algo] += microtime(true)-$start;
/PHP-7.3/ext/intl/tests/
H A Dbug71020.phpt10 …$myarray[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9…
/PHP-7.3/ext/standard/tests/file/
H A Dbug43137.phpt5 $toname = "TO_" . md5(microtime());
6 $dirname = "FROM_" . md5(microtime());
/PHP-7.3/ext/pcntl/tests/
H A Dbug73783.phpt18 $before = microtime(true);
21 if (microtime(true) - $before >= 0.8) {
/PHP-7.3/ext/fileinfo/tests/
H A Dcve-2014-3538-mb.phpt16 $t = microtime(true);
18 $t = microtime(true) - $t;
H A Dcve-2014-3538.phpt16 $t = microtime(true);
18 $t = microtime(true) - $t;
H A Dcve-2014-3538-nojit.phpt21 $t = microtime(true);
23 $t = microtime(true) - $t;
/PHP-7.3/ext/standard/tests/http/
H A Dbug76342.phpt22 $start = microtime(true);
24 $diff = microtime(true) - $start;
/PHP-7.3/ext/standard/tests/misc/
H A Dtime_sleep_until_basic.phpt14 $time = microtime(true) + 2;
16 $now = microtime(true);
18 // on windows, time_sleep_until has millisecond accuracy while microtime() is accurate
/PHP-7.3/ext/standard/tests/general_functions/
H A Dusleep_basic.phpt22 $time_start = microtime(true);
27 $time_end = microtime(true);
H A Dsleep_basic.phpt20 $time_start = microtime(true);
28 $time_end = microtime(true);
/PHP-7.3/ext/pdo_pgsql/tests/
H A Dgetnotify.phpt71 $t = microtime(1);
73 $diff = microtime(1) - $t;
79 $t = microtime(1);
81 $diff = microtime(1) - $t;
/PHP-7.3/ext/gmp/tests/
H A Dgmp_random_bits.phpt17 $start = microtime(true);
29 if (microtime(true) - $start > 0.5) {
/PHP-7.3/ext/standard/
H A Dmicrotime.h23 PHP_FUNCTION(microtime);
/PHP-7.3/ext/standard/tests/streams/
H A Dproc_open_bug69900.phpt32 $t0 = microtime(1);
34 $t1 = microtime(1);

Completed in 24 milliseconds

12