Home
last modified time | relevance | path

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

12

/PHP-7.1/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 boolean, array given in %s on line 25
66 Warning: microtime() expects parameter 1 to be boolean, object given in %s on line 25
H A Dbug36988.phpt8 $start = microtime(true);
/PHP-7.1/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.1/ext/standard/tests/time/
H A D001.phpt2 microtime() function
5 if (!function_exists('microtime')) die('skip microtime() not available');
19 list($micro,$time)=explode(" ",microtime());
/PHP-7.1/Zend/tests/
H A Dconcat_003.phpt8 $time = microtime(TRUE);
24 $time = microtime(TRUE);
31 $t = microtime(TRUE) - $time;
/PHP-7.1/tests/basic/
H A Dtimeout_config.inc7 $until = microtime(TRUE) + $how_long;
9 while ($until > microtime(TRUE));
/PHP-7.1/ext/hash/
H A Dbench.php80 $start = microtime(true);
84 $time[$algo] += microtime(true)-$start;
/PHP-7.1/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.1/ext/standard/tests/file/
H A Dbug43137.phpt5 $toname = "TO_" . md5(microtime());
6 $dirname = "FROM_" . md5(microtime());
/PHP-7.1/ext/pcntl/tests/
H A Dbug73783.phpt18 $before = microtime(true);
21 if (microtime(true) - $before >= 0.8) {
/PHP-7.1/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;
/PHP-7.1/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.1/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);
H A Dgetrusage_basic.phpt9 * Source code: ext/standard/microtime.c
/PHP-7.1/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.1/ext/gmp/tests/
H A Dgmp_random_bits.phpt17 $start = microtime(true);
29 if (microtime(true) - $start > 0.5) {
H A Dgmp_random_range.phpt34 $start = microtime(true);
59 if (microtime(true) - $start > 0.5) {
/PHP-7.1/ext/standard/
H A Dmicrotime.h25 PHP_FUNCTION(microtime);
/PHP-7.1/ext/standard/tests/streams/
H A Dproc_open_bug69900.phpt32 $t0 = microtime(1);
34 $t1 = microtime(1);
/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_fetch_array_many_rows.phpt14 $start = microtime(true);
15 for ($id = 100, $start = microtime(true); (microtime(true) - $start) < 5; $id++) {

Completed in 28 milliseconds

12