Searched refs:microtime (Results 1 – 25 of 39) sorted by relevance
12
/PHP-5.6/ext/date/tests/ |
H A D | microtime_basic.phpt | 2 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 D | bug48187.phpt | 2 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 D | microtime_error.phpt | 2 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 D | bug36988.phpt | 6 $start = microtime(true); 8 echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second";
|
H A D | gettimeofday_error.phpt | 7 * Source code: ext/standard/microtime.c
|
H A D | gettimeofday_basic.phpt | 7 * Source code: ext/standard/microtime.c
|
/PHP-5.6/ext/standard/tests/ |
H A D | bug64370_var1.phpt | 2 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 D | bug64370_var2.phpt | 2 Test bug #64370 sequential microtime(true) calls 8 $m0 = microtime(true); 9 $m1 = microtime(true);
|
/PHP-5.6/ext/standard/tests/time/ |
H A D | 001.phpt | 2 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 D | bench.php | 80 $start = microtime(true); 84 $time[$algo] += microtime(true)-$start;
|
/PHP-5.6/ext/intl/tests/ |
H A D | bug71020.phpt | 10 …$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 D | bug43137.phpt | 5 $toname = "TO_" . md5(microtime()); 6 $dirname = "FROM_" . md5(microtime());
|
/PHP-5.6/ext/standard/tests/misc/ |
H A D | time_sleep_until_basic.phpt | 14 $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 D | cve-2014-3538.phpt | 16 $t = microtime(true); 18 $t = microtime(true) - $t;
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | usleep_basic.phpt | 22 $time_start = microtime(true); 27 $time_end = microtime(true);
|
H A D | sleep_basic.phpt | 20 $time_start = microtime(true); 28 $time_end = microtime(true);
|
H A D | getrusage_basic.phpt | 12 * Source code: ext/standard/microtime.c
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | getnotify.phpt | 71 $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 D | gmp_random_bits.phpt | 17 $start = microtime(true); 29 if (microtime(true) - $start > 0.5) {
|
H A D | gmp_random_range.phpt | 34 $start = microtime(true); 59 if (microtime(true) - $start > 0.5) {
|
/PHP-5.6/ext/standard/ |
H A D | microtime.h | 25 PHP_FUNCTION(microtime);
|
H A D | microtime.c | 93 PHP_FUNCTION(microtime) in PHP_FUNCTION() argument
|
H A D | config.w32 | 16 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 D | mysqli_fetch_array_many_rows.phpt | 14 $start = microtime(true); 15 for ($id = 100, $start = microtime(true); (microtime(true) - $start) < 5; $id++) {
|
/PHP-5.6/ext/openssl/tests/ |
H A D | openssl_decrypt_basic.phpt | 13 srand(time() + ((microtime(true) * 1000000) % 1000000));
|
Completed in 25 milliseconds
12