Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/standard/tests/general_functions/
H A Drand.phpt2 rand() and mt_rand() tests
10 var_dump(rand());
11 var_dump(rand(-1,1));
12 var_dump(rand(0,3));
/PHP-8.0/ext/standard/tests/math/
H A Drand_inverted_order.phpt2 Test rand function when min and max are in proper or inverted order
9 $correct_order = rand($min_value, $max_value);
10 $incorrect_order = rand($max_value, $min_value);
H A Drand_basic.phpt2 Test rand() - basic function test rand()
9 $res = rand();
41 $res = rand($min[$x], $max[$x]);
69 $res = rand($min[$x], 100);
83 rand() tests with default min and max value (i.e 0 thru %i)
86 rand() tests with defined min and max value
/PHP-8.0/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-8.0/ext/sockets/tests/
H A Dbug76839.phpt19 $senderSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock';
23 $receiverSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock';
/PHP-8.0/ext/pdo_pgsql/tests/
H A Dbug69362.phpt17 $user = 'pdo_test_'.rand(5, 400);
44 $rand = rand(5, 400);
45 $user = "pdo_test_$rand";
H A Dbug62479.phpt17 $user = 'pdo_test_'.rand(5, 400);
44 $rand = rand(5, 400);
45 $user = "pdo_test_$rand";
/PHP-8.0/Zend/tests/anon/
H A D005.phpt26 rand(1, 100),
27 rand(2, 200)
H A D004.phpt24 rand(1, 100)
/PHP-8.0/ext/standard/tests/file/
H A Dfread_socket_variation1.phpt7 $port = rand(10000, 65000);
H A Dfgets_socket_variation1.phpt9 $port = rand(10000, 65000);
H A D004.phpt14 $old_int = $int = rand();
H A Dfgets_socket_variation2.phpt20 $port = rand(10000, 65000);
/PHP-8.0/ext/date/tests/
H A Dformat-negative-timestamp.phpt12 $new_tm = rand(1, $max);
/PHP-8.0/ext/standard/
H A Drand.c44 PHP_FUNCTION(rand) in PHP_FUNCTION() argument
/PHP-8.0/ext/standard/tests/network/
H A Dsocket_get_status_basic.phpt7 $port = rand(10000, 65000);
H A Dtcp4loop.phpt7 $port = rand(10000, 65000);
H A Dsocket_bug74429.phpt11 $port = rand(10000, 65000);
H A Dfsockopen_variation1.phpt8 $port = rand(10000, 65000);
H A Dfsockopen_basic.phpt10 $port = rand(10000, 65000);
H A Dtcp6loop.phpt17 $port = rand(10000, 65000);
H A Dudp6loop.phpt23 $port = rand(10000, 65000);
/PHP-8.0/ext/zlib/tests/
H A Dbug_34821.phpt22 $s .= chr(rand(0,255));
H A Dinflate_add_basic.phpt48 $uncompressed .= chr(rand(48,125));
/PHP-8.0/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt8 $port = rand(10000, 65000);

Completed in 28 milliseconds

12