Searched refs:mt_srand (Results 1 – 13 of 13) sorted by relevance
/php-src/ext/random/tests/01_functions/ |
H A D | mt_srand_basic.phpt | 2 Test mt_srand() - basic function (return values) mt_srand() 7 var_dump(mt_srand()); 8 var_dump(mt_srand(500)); 9 var_dump(mt_srand(500.1)); 10 var_dump(mt_srand("500")); 11 var_dump(mt_srand("500E3")); 12 var_dump(mt_srand(true)); 13 var_dump(mt_srand(false));
|
H A D | mt_srand_unknown_mode.phpt | 2 mt_srand(): Test unknown modes 6 mt_srand(1, 0); 9 mt_srand(1, 1); 12 mt_srand(1, 2); 15 mt_srand(1, 256);
|
H A D | bug75170.phpt | 9 mt_srand(1234567890); 20 mt_srand(1234567890);
|
H A D | mt_rand_value.phpt | 6 mt_srand(12345678, MT_RAND_PHP); 20 mt_srand(12345678 /*, MT_RAND_MT19937 */);
|
H A D | bug75514.phpt | 5 mt_srand(0, MT_RAND_PHP);
|
H A D | array_rand_mt_rand_php.phpt | 12 mt_srand(1, MT_RAND_PHP);
|
/php-src/ext/standard/tests/general_functions/ |
H A D | rand.phpt | 17 var_dump(mt_srand()); 18 var_dump(mt_srand(-1));
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | compatibility_mt_rand.phpt | 12 mt_srand(1234, MT_RAND_PHP); 29 mt_srand(1234, MT_RAND_MT19937);
|
H A D | compatibility_array_rand.phpt | 12 mt_srand(1234);
|
/php-src/ext/zlib/tests/ |
H A D | bug75273.phpt | 9 mt_srand(1);
|
/php-src/ext/random/ |
H A D | random.stub.php | 21 function mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {} function
|
H A D | random_arginfo.h | 128 ZEND_FUNCTION(mt_srand); 159 ZEND_FE(mt_srand, arginfo_mt_srand)
|
H A D | random.c | 492 PHP_FUNCTION(mt_srand) argument
|
Completed in 28 milliseconds