Home
last modified time | relevance | path

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

12

/php-src/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 ***
/php-src/ext/standard/tests/general_functions/
H A Drand.phpt14 var_dump(srand());
15 var_dump(srand(-1));
/php-src/ext/mbstring/tests/
H A Darmscii8_encoding.phpt12 srand(111); // Make results consistent
H A Dbig5_encoding.phpt12 srand(1000); // Make results consistent
H A Deuc_tw_encoding.phpt14 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 Dhz_encoding.phpt12 srand(1000); // Make results consistent
H A Dcp932_encoding.phpt11 srand(4321); /* Make results consistent */
H A Dencoding_tests.inc270 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 */
H A Diso2022jp_2004_encoding.phpt11 srand(111); /* Make results consistent */
H A Dcp936_encoding.phpt13 srand(1000); // Make results consistent
/php-src/ext/random/
H A Drandom.stub.php23 function srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {} function
/php-src/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt13 srand(time() + ((int)(microtime(true) * 1000000) % 1000000));
/php-src/ext/gd/libgd/
H A Dgd_filter.c67 (void)srand(scatter->seed); in gdImageScatterEx()

Completed in 47 milliseconds

12