Home
last modified time | relevance | path

Searched refs:srand (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.2/ext/random/tests/01_functions/
H A Dsrand_basic.phpt2 Test srand() - basic function test for srand()
5 echo "*** Testing srand() : basic functionality ***\n";
9 var_dump(srand());
10 var_dump(srand(500));
11 var_dump(srand(500.1));
12 var_dump(srand("500"));
13 var_dump(srand("500E3"));
14 var_dump(srand(true));
15 var_dump(srand(false));
18 *** Testing srand() : basic functionality ***
H A Dgh-10292.phpt2 GH-10292 (Made the default value of the first param of srand() and mt_srand() unknown
7 srand(mode: MT_RAND_MT19937);
20 srand(): Argument #1 ($seed) must be passed explicitly, because the default value is not known
/PHP-8.2/ext/standard/tests/general_functions/
H A Drand.phpt14 var_dump(srand());
15 var_dump(srand(-1));
/PHP-8.2/ext/mbstring/tests/
H A Darmscii8_encoding.phpt12 srand(111); // Make results consistent
H A Deuc_tw_encoding.phpt13 srand(1000); // Make results consistent
H A Dbig5_encoding.phpt12 srand(1000); // Make results consistent
H A Duuencode_encoding.phpt7 srand(1000); // Make results consistent
H A Deucjp_ms_encoding.phpt11 srand(555); /* Make results consistent */
H A Dcp950_encoding.phpt12 srand(1000); // Make results consistent
H A Dsjis2004_encoding.phpt11 srand(101); /* Make results consistent */
H A Deucjp_2004_encoding.phpt11 srand(200); /* Make results consistent */
H A Deucjp_encoding.phpt11 srand(555); /* Make results consistent */
H A Dsjis_encoding.phpt11 srand(999); /* Make results consistent */
H A Dsjismac_encoding.phpt11 srand(300); /* Make results consistent */
H A Dcp51932_encoding.phpt11 srand(2020); /* Make results consistent */
H A Dutf8_mobile_encodings.phpt11 srand(855); /* Make results consistent */
H A Dcp932_encoding.phpt11 srand(4321); /* Make results consistent */
H A Dencoding_tests.inc236 srand(1000); // Make results consistent
H A Dhz_encoding.phpt12 srand(1000); // Make results consistent
H A Diso2022jp_ms_encoding.phpt11 srand(444); /* Make results consistent */
H A Diso2022jp_kddi_encoding.phpt11 srand(390); /* Make results consistent */
/PHP-8.2/ext/random/
H A Drandom.stub.php22 function srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} function
H A Drandom_arginfo.h146 ZEND_FALIAS(srand, mt_srand, arginfo_srand)
/PHP-8.2/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt13 srand(time() + ((int)(microtime(true) * 1000000) % 1000000));
/PHP-8.2/ext/gd/libgd/
H A Dgd_filter.c67 (void)srand(scatter->seed); in gdImageScatterEx()

Completed in 26 milliseconds

12