Home
last modified time | relevance | path

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

/php-src/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
49 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
51 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
53 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
55 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A Dserialize.phpt17 $engines[] = new Mt19937(1234, MT_RAND_PHP);
46 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
48 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
/php-src/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);
27 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
29 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A Dbug75514.phpt5 mt_srand(0, MT_RAND_PHP);
9 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
11 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A Dmt_rand_value.phpt6 mt_srand(12345678, MT_RAND_PHP);
41 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
43 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A Dmt_srand_unknown_mode.phpt8 // MT_RAND_PHP
21 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
/php-src/ext/random/tests/03_randomizer/methods/
H A DnextInt.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
44 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
46 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DnextFloat.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
44 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
46 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DgetBytes.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
42 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
44 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DgetInt.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
49 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
51 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DshuffleArray.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
48 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
50 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DgetFloat.phpt19 $engines[] = new Mt19937(null, MT_RAND_PHP);
45 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
47 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DshuffleBytes.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
55 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
57 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DgetBytesFromString.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
46 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
48 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
H A DpickArrayKeys.phpt18 $engines[] = new Mt19937(null, MT_RAND_PHP);
79 Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d
81 Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d
/php-src/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-src/ext/random/
H A Dengine_mt19937.c224 if (s->mode != MT_RAND_MT19937 && s->mode != MT_RAND_PHP) { in unserialize()
270 case MT_RAND_PHP: in PHP_METHOD()
272 state->mode = MT_RAND_PHP; in PHP_METHOD()
H A Drandom.stub.php16 const MT_RAND_PHP = UNKNOWN; define
H A Dphp_random.h54 MT_RAND_PHP = 1, enumerator
H A Drandom.c506 case MT_RAND_PHP:
507 state->mode = MT_RAND_PHP;
H A Drandom_arginfo.h229 REGISTER_LONG_CONSTANT("MT_RAND_PHP", MT_RAND_PHP, CONST_PERSISTENT | CONST_DEPRECATED); in register_random_symbols()

Completed in 34 milliseconds