Home
last modified time | relevance | path

Searched refs:microtime (Results 1 – 25 of 34) sorted by path

12

/PHP-5.4/
H A DNEWS1119 . Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).
/PHP-5.4/ext/date/tests/
H A Dbug36988.phpt6 $start = microtime(true);
8 echo (microtime(true) - $start) < 1 ? "smaller than one second" : "more than a second";
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 Dgettimeofday_basic.phpt7 * Source code: ext/standard/microtime.c
H A Dgettimeofday_error.phpt7 * Source code: ext/standard/microtime.c
H A Dgettimeofday_variation1.phpt7 * Source code: ext/standard/microtime.c
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 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
/PHP-5.4/ext/fileinfo/tests/
H A Dcve-2014-3538.phpt16 $t = microtime(true);
18 $t = microtime(true) - $t;
/PHP-5.4/ext/hash/
H A Dbench.php80 $start = microtime(true);
84 $time[$algo] += microtime(true)-$start;
/PHP-5.4/ext/interbase/tests/
H A Dinterbase.inc3 srand((double)microtime()*1000000);
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_fetch_array_large.phpt134 $start = microtime(true);
140 $duration = microtime(true) - $start;
H A Dmysqli_fetch_array_many_rows.phpt14 $start = microtime(true);
15 for ($id = 100, $start = microtime(true); (microtime(true) - $start) < 5; $id++) {
H A Dmysqli_query_local_infile_large.phpt32 $start = microtime(true);
35 while (($bytes < $max_bytes) && ((microtime(true) - $start) < $runtime)) {
H A Dmysqli_stmt_attr_set.phpt49 mt_srand(microtime(true));
/PHP-5.4/ext/openssl/tests/
H A D011.phpt13 srand(time() + ((microtime(true) * 1000000) % 1000000));
/PHP-5.4/ext/standard/
H A Dbasic_functions.c2941 PHP_FE(microtime, arginfo_microtime)
H A Dconfig.m4599 microtime.c pack.c pageinfo.c quot_print.c rand.c \
H A Dconfig.w3216 info.c iptc.c lcg.c link_win32.c mail.c math.c md5.c metaphone.c microtime.c \
H A Dmicrotime.c93 PHP_FUNCTION(microtime) in PHP_FUNCTION() argument
H A Dmicrotime.h25 PHP_FUNCTION(microtime);
/PHP-5.4/ext/standard/tests/
H A Dbug64370_var1.phpt2 Test bug #64370 microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']
13 echo "microtime(true): " . microtime(true) . "\n";
14 $d = (microtime(true)-$_SERVER['REQUEST_TIME_FLOAT'])*1000;
23 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.4/ext/standard/tests/file/
H A Dbug43137.phpt5 $toname = "TO_" . md5(microtime());
6 $dirname = "FROM_" . md5(microtime());
/PHP-5.4/ext/standard/tests/general_functions/
H A Dgetrusage_basic.phpt12 * Source code: ext/standard/microtime.c

Completed in 63 milliseconds

12