/php-src/ext/standard/tests/general_functions/ |
H A D | rand.phpt | 2 rand() and mt_rand() tests 10 var_dump(rand()); 11 var_dump(rand(-1,1)); 12 var_dump(rand(0,3));
|
/php-src/ext/random/tests/01_functions/ |
H A D | rand_basic.phpt | 2 Test rand() - basic function test rand() 9 $res = rand(); 39 $res = rand($min[$x], $max[$x]); 54 rand() tests with default min and max value (i.e 0 thru %i) 57 rand() tests with defined min and max value
|
H A D | rand_inverted_order.phpt | 2 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);
|
/php-src/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-src/ext/sockets/tests/ |
H A D | bug76839.phpt | 19 $senderSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock'; 23 $receiverSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock';
|
/php-src/Zend/tests/anon/ |
H A D | 005.phpt | 26 rand(1, 100), 27 rand(2, 200)
|
H A D | 004.phpt | 24 rand(1, 100)
|
/php-src/ext/opcache/tests/opt/ |
H A D | gh11170.phpt | 14 if (rand() % 10) { 26 if (rand() % 10) { 67 0000 INIT_FCALL 0 %d string("rand") 113 0000 INIT_FCALL 0 %d string("rand")
|
/php-src/ext/zend_test/tests/ |
H A D | zend_mm_custom_handlers_alloc_01.phpt | 8 $string = str_repeat('String', rand(1,100));
|
H A D | zend_mm_custom_handlers_free_01.phpt | 7 $string = str_repeat('String', rand(1,100));
|
/php-src/ext/standard/tests/file/ |
H A D | fread_socket_variation1.phpt | 7 $port = rand(10000, 65000);
|
H A D | fgets_socket_variation1.phpt | 9 $port = rand(10000, 65000);
|
H A D | 004.phpt | 14 $old_int = $int = rand();
|
/php-src/ext/date/tests/ |
H A D | format-negative-timestamp.phpt | 12 $new_tm = rand(1, $max);
|
/php-src/ext/mbstring/tests/ |
H A D | uuencode_encoding.phpt | 39 $strlen = rand(1, 300); 43 $randstring .= $characters[rand(0, strlen($characters) - 1)];
|
H A D | iso2022jp_2004_encoding.phpt | 234 $jisx0208 = "\x1B\$B" . array_keys($jisx0208Chars)[rand(0,1000)]; 235 $jisx0213_1 = "\x1B$(Q" . array_keys($jisx0213_2004_1Chars)[rand(0,1000)]; 236 $jisx0213_2 = "\x1B$(P" . array_keys($jisx0213_2000_2Chars)[rand(0,1000)]; 280 $size = rand(5,20); 287 $type = rand(0,4); 288 $chars = rand(0,10); 292 $ascii = chr(rand(0x20, 0x7E));
|
/php-src/ext/standard/tests/network/ |
H A D | socket_get_status_basic.phpt | 7 $port = rand(10000, 65000);
|
H A D | tcp4loop.phpt | 7 $port = rand(10000, 65000);
|
H A D | socket_bug74429.phpt | 11 $port = rand(10000, 65000);
|
H A D | fsockopen_variation1.phpt | 8 $port = rand(10000, 65000);
|
H A D | fsockopen_basic.phpt | 10 $port = rand(10000, 65000);
|
H A D | tcp6loop.phpt | 17 $port = rand(10000, 65000);
|
/php-src/ext/zlib/tests/ |
H A D | bug_34821.phpt | 22 $s .= chr(rand(0,255));
|
H A D | inflate_add_basic.phpt | 48 $uncompressed .= chr(rand(48,125));
|
/php-src/ext/standard/tests/streams/ |
H A D | stream_set_timeout_error.phpt | 8 $port = rand(10000, 65000);
|