Home
last modified time | relevance | path

Searched refs:mt_srand (Results 1 – 15 of 15) sorted by relevance

/PHP-8.2/ext/random/tests/01_functions/
H A Dmt_srand_basic.phpt2 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 Dmt_srand_unknown_mode.phpt2 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 Dgh-10292.phpt2 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 Dbug75170.phpt9 mt_srand(1234567890);
20 mt_srand(1234567890);
H A Dmt_rand_value.phpt6 mt_srand(12345678, MT_RAND_PHP);
20 mt_srand(12345678 /*, MT_RAND_MT19937 */);
H A Dbug75514.phpt5 mt_srand(0, MT_RAND_PHP);
H A Darray_rand_mt_rand_php.phpt12 mt_srand(1, MT_RAND_PHP);
/PHP-8.2/ext/standard/tests/general_functions/
H A Drand.phpt17 var_dump(mt_srand());
18 var_dump(mt_srand(-1));
/PHP-8.2/ext/random/tests/03_randomizer/
H A Dcompatibility_mt_rand.phpt12 mt_srand(1234, MT_RAND_PHP);
29 mt_srand(1234, MT_RAND_MT19937);
H A Dcompatibility_array_rand.phpt12 mt_srand(1234);
/PHP-8.2/ext/zlib/tests/
H A Dbug75273.phpt9 mt_srand(1);
/PHP-8.2/ext/random/
H A Drandom.stub.php19 function mt_srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} function
H A Drandom_arginfo.h116 ZEND_FUNCTION(mt_srand);
145 ZEND_FE(mt_srand, arginfo_mt_srand)
146 ZEND_FALIAS(srand, mt_srand, arginfo_srand)
H A Drandom.c679 PHP_FUNCTION(mt_srand) argument
/PHP-8.2/
H A DNEWS820 . Fixed bug GH-13544 (Pre-PHP 8.2 compatibility for mt_srand with unknown
1842 mt_srand() unknown). (kocsismate)
1857 mt_srand() unknown). (kocsismate)

Completed in 26 milliseconds