Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 45) sorted by last modified time

12

/php-src/ext/random/
H A Drandom_arginfo.h129 ZEND_FUNCTION(rand);
161 ZEND_FE(rand, arginfo_rand)
H A Drandom.c562 PHP_FUNCTION(rand) argument
H A Drandom.stub.php26 function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} function
/php-src/
H A DREADME.REDIST.BINS6 6. ext/standard/rand
199 6. ext/standard/rand
/php-src/ext/opcache/tests/opt/
H A Dgh11170.phpt14 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 Dzend_mm_custom_handlers_alloc_01.phpt8 $string = str_repeat('String', rand(1,100));
H A Dzend_mm_custom_handlers_free_01.phpt7 $string = str_repeat('String', rand(1,100));
/php-src/ext/pdo_mysql/tests/inc/
H A Dmysql_pdo_test.inc130 $temp_file = tempnam(md5(uniqid(rand(), TRUE)), '');
/php-src/ext/mbstring/tests/
H A Dencoding_tests.inc146 $length = min(rand(5,10), count($goodChars));
H A Dutf_encodings.phpt730 $length = min(rand(20,30), count($good));
/php-src/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-src/ext/standard/tests/network/
H A Dsocket_get_status_basic.phpt7 $port = rand(10000, 65000);
H A Dshutdown.phpt11 $port = rand(10000, 65000);
H A Dsocket_bug74429.phpt11 $port = rand(10000, 65000);
H A Dtcp4loop.phpt7 $port = rand(10000, 65000);
H A Dtcp6loop.phpt17 $port = rand(10000, 65000);
H A Dudp6loop.phpt23 $port = rand(10000, 65000);
H A Dfsockopen_basic.phpt10 $port = rand(10000, 65000);
H A Dfsockopen_variation1.phpt8 $port = rand(10000, 65000);
/php-src/ext/zlib/tests/
H A Dinflate_add_basic.phpt48 $uncompressed .= chr(rand(48,125));
H A Dbug_34821.phpt22 $s .= chr(rand(0,255));
/php-src/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt8 $port = rand(10000, 65000);
/php-src/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-src/ext/standard/tests/file/
H A Duserstreams.phpt217 $offset = rand(0, $DATALEN - 1);
221 $offset = -rand(0, $DATALEN - 1);
225 $offset = rand(0, $DATALEN - 1);
H A Dfread_socket_variation1.phpt7 $port = rand(10000, 65000);

Completed in 60 milliseconds

12