Searched refs:mt_srand (Results 1 – 15 of 15) sorted by relevance
/PHP-8.2/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 | gh-10292.phpt | 2 GH-10292 (Made the default value of the first param of srand() and mt_srand() unknown 13 mt_srand(mode: MT_RAND_MT19937); 21 mt_srand(): Argument #1 ($seed) must be passed explicitly, because the default value is not known
|
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-8.2/ext/standard/tests/general_functions/ |
H A D | rand.phpt | 17 var_dump(mt_srand()); 18 var_dump(mt_srand(-1));
|
/PHP-8.2/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-8.2/ext/zlib/tests/ |
H A D | bug75273.phpt | 9 mt_srand(1);
|
/PHP-8.2/ext/random/ |
H A D | random.stub.php | 19 function mt_srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} function
|
H A D | random_arginfo.h | 116 ZEND_FUNCTION(mt_srand); 145 ZEND_FE(mt_srand, arginfo_mt_srand) 146 ZEND_FALIAS(srand, mt_srand, arginfo_srand)
|
H A D | random.c | 679 PHP_FUNCTION(mt_srand) argument
|
/PHP-8.2/ |
H A D | NEWS | 773 . Fixed bug GH-13544 (Pre-PHP 8.2 compatibility for mt_srand with unknown 1795 mt_srand() unknown). (kocsismate) 1810 mt_srand() unknown). (kocsismate)
|
Completed in 22 milliseconds