Home
last modified time | relevance | path

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

/php-src/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 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-src/ext/standard/tests/general_functions/
H A Drand.phpt17 var_dump(mt_srand());
18 var_dump(mt_srand(-1));
/php-src/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-src/ext/zlib/tests/
H A Dbug75273.phpt9 mt_srand(1);
/php-src/ext/random/
H A Drandom.stub.php21 function mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void {} function
H A Drandom_arginfo.h128 ZEND_FUNCTION(mt_srand);
159 ZEND_FE(mt_srand, arginfo_mt_srand)
H A Drandom.c492 PHP_FUNCTION(mt_srand) argument

Completed in 13 milliseconds