Home
last modified time | relevance | path

Searched refs:MT_RAND_PHP (Results 1 – 19 of 19) sorted by relevance

/PHP-8.2/ext/random/tests/03_randomizer/
H A Dcompatibility_mt_rand.phpt9 echo "MT_RAND_PHP", PHP_EOL;
11 $randomizer = new Randomizer(new Mt19937(1234, MT_RAND_PHP));
12 mt_srand(1234, MT_RAND_PHP);
47 MT_RAND_PHP
H A Dserialize.phpt17 $engines[] = new Mt19937(1234, MT_RAND_PHP);
/PHP-8.2/ext/random/tests/01_functions/
H A Darray_rand_mt_rand_php.phpt2 array_rand() is not affected by MT_RAND_PHP as with PHP < 8.2
12 mt_srand(1, MT_RAND_PHP);
H A Dbug75514.phpt5 mt_srand(0, MT_RAND_PHP);
H A Dmt_srand_unknown_mode.phpt8 // MT_RAND_PHP
H A Dmt_rand_value.phpt6 mt_srand(12345678, MT_RAND_PHP);
/PHP-8.2/ext/random/tests/02_engine/
H A Dmt19937_error.phpt16 …om\Engine\Mt19937::__construct(): Argument #2 ($mode) must be either MT_RAND_MT19937 or MT_RAND_PHP
/PHP-8.2/ext/random/
H A Dengine_mt19937.c218 if (s->mode != MT_RAND_MT19937 && s->mode != MT_RAND_PHP) { in unserialize()
266 case MT_RAND_PHP: in PHP_METHOD()
267 state->mode = MT_RAND_PHP; in PHP_METHOD()
H A Drandom.stub.php15 const MT_RAND_PHP = UNKNOWN; define
H A Dphp_random.h75 # define MT_RAND_PHP 1 macro
H A Drandom.c693 case MT_RAND_PHP:
694 state->mode = MT_RAND_PHP;
H A Drandom_arginfo.h238 REGISTER_LONG_CONSTANT("MT_RAND_PHP", MT_RAND_PHP, CONST_PERSISTENT); in register_random_symbols()
/PHP-8.2/ext/random/tests/03_randomizer/methods/
H A DgetBytes.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
H A DnextInt.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
H A DgetInt.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
H A DshuffleArray.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
H A DshuffleBytes.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
H A DpickArrayKeys.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
/PHP-8.2/
H A DNEWS776 requests when MT_RAND_PHP is used). (timwolla)
2242 . Fixed bug GH-9190, GH-9191 (undefined behavior for MT_RAND_PHP when
2255 functions for MT_RAND_PHP). (timwolla)

Completed in 28 milliseconds