Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/standard/tests/math/
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 ***
/PHP-8.1/ext/standard/tests/general_functions/
H A Drand.phpt14 var_dump(srand());
15 var_dump(srand(-1));
17 srand(mode: MT_RAND_MT19937);
46 srand(): Argument #1 ($seed) must be passed explicitly, because the default value is not known
/PHP-8.1/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 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 Dhz_encoding.phpt12 srand(1000); // Make results consistent
H A Deucjp_encoding.phpt11 srand(555); /* Make results consistent */
H A Dsjismac_encoding.phpt11 srand(300); /* Make results consistent */
H A Dsjis_encoding.phpt11 srand(999); /* Make results consistent */
H A Dutf8_mobile_encodings.phpt11 srand(855); /* Make results consistent */
H A Dcp51932_encoding.phpt11 srand(2020); /* Make results consistent */
H A Dcp932_encoding.phpt11 srand(4321); /* Make results consistent */
H A Dencoding_tests.inc228 srand(1000); // Make results consistent
H A Diso2022jp_kddi_encoding.phpt11 srand(390); /* Make results consistent */
H A Diso2022jp_ms_encoding.phpt11 srand(444); /* Make results consistent */
H A Diso2022jp_2004_encoding.phpt11 srand(111); /* Make results consistent */
H A Dgb18030_encoding.phpt12 srand(1111); // Make results consistent
H A Dcp936_encoding.phpt13 srand(1000); // Make results consistent
H A Dsjis_mobile_encodings.phpt11 srand(818); /* Make results consistent */
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt13 srand(time() + ((int)(microtime(true) * 1000000) % 1000000));
/PHP-8.1/ext/gd/libgd/
H A Dgd_filter.c67 (void)srand(scatter->seed); in gdImageScatterEx()

Completed in 28 milliseconds

12