Home
last modified time | relevance | path

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

12

/PHP-5.6/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));
37 Warning: microtime() expects at most 1 parameter, 2 given in %s on line 11
61 Warning: microtime() expects parameter 1 to be boolean, array given in %s on line 25
67 Warning: microtime() expects parameter 1 to be boolean, object given in %s on line 25
H A Dbug36988.phpt6 $start = microtime(true);
8 echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second";
H A Dgettimeofday_error.phpt7 * Source code: ext/standard/microtime.c
H A Dgettimeofday_basic.phpt7 * Source code: ext/standard/microtime.c
/PHP-5.6/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-5.6/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-5.6/ext/hash/
H A Dbench.php80 $start = microtime(true);
84 $time[$algo] += microtime(true)-$start;
/PHP-5.6/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-5.6/ext/standard/tests/file/
H A Dbug43137.phpt5 $toname = "TO_" . md5(microtime());
6 $dirname = "FROM_" . md5(microtime());
/PHP-5.6/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-5.6/ext/fileinfo/tests/
H A Dcve-2014-3538.phpt16 $t = microtime(true);
18 $t = microtime(true) - $t;
/PHP-5.6/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.phpt12 * Source code: ext/standard/microtime.c
/PHP-5.6/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-5.6/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-5.6/ext/standard/
H A Dmicrotime.h25 PHP_FUNCTION(microtime);
H A Dmicrotime.c93 PHP_FUNCTION(microtime) in PHP_FUNCTION() argument
H A Dconfig.w3216 info.c iptc.c lcg.c link_win32.c mail.c math.c md5.c metaphone.c microtime.c \
/PHP-5.6/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++) {
/PHP-5.6/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt13 srand(time() + ((microtime(true) * 1000000) % 1000000));

Completed in 25 milliseconds

12