Searched refs:MT_RAND_PHP (Results 1 – 21 of 21) sorted by relevance
/php-src/ext/random/tests/03_randomizer/ |
H A D | compatibility_mt_rand.phpt | 9 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 D | serialize.phpt | 17 $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 D | array_rand_mt_rand_php.phpt | 2 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 D | bug75514.phpt | 5 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 D | mt_rand_value.phpt | 6 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 D | mt_srand_unknown_mode.phpt | 8 // 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 D | nextInt.phpt | 18 $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 D | nextFloat.phpt | 18 $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 D | getBytes.phpt | 18 $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 D | getInt.phpt | 18 $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 D | shuffleArray.phpt | 18 $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 D | getFloat.phpt | 19 $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 D | shuffleBytes.phpt | 18 $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 D | getBytesFromString.phpt | 18 $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 D | pickArrayKeys.phpt | 18 $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 D | mt19937_error.phpt | 16 …om\Engine\Mt19937::__construct(): Argument #2 ($mode) must be either MT_RAND_MT19937 or MT_RAND_PHP
|
/php-src/ext/random/ |
H A D | engine_mt19937.c | 224 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 D | random.stub.php | 16 const MT_RAND_PHP = UNKNOWN; define
|
H A D | php_random.h | 54 MT_RAND_PHP = 1, enumerator
|
H A D | random.c | 506 case MT_RAND_PHP: 507 state->mode = MT_RAND_PHP;
|
H A D | random_arginfo.h | 229 REGISTER_LONG_CONSTANT("MT_RAND_PHP", MT_RAND_PHP, CONST_PERSISTENT | CONST_DEPRECATED); in register_random_symbols()
|
Completed in 30 milliseconds