Searched refs:Mt19937 (Results 1 – 19 of 19) sorted by relevance
/PHP-8.2/ext/random/tests/02_engine/ |
H A D | mt19937_error.phpt | 2 Random: Engine: Mt19937: Invalid $mode parameter values must be rejected 6 use Random\Engine\Mt19937; 9 new Mt19937(1234, 2); 16 Random\Engine\Mt19937::__construct(): Argument #2 ($mode) must be either MT_RAND_MT19937 or MT_RAND…
|
H A D | mt19937_value.phpt | 2 Random: Engine: Mt19937: For a reference seed a fixed reference value must be generated 6 use Random\Engine\Mt19937; 8 $engine = new Mt19937(1234);
|
H A D | all_serialize_native.phpt | 6 use Random\Engine\Mt19937; 11 $engines[] = new Mt19937(1234); 35 Random\Engine\Mt19937
|
H A D | user_compatibility.phpt | 7 use Random\Engine\Mt19937; 15 $engines[] = new Mt19937(1234); 36 Random\Engine\Mt19937
|
H A D | mt19937_serialize.phpt | 2 Random: Engine: Mt19937: The serialization output must be stable 6 use Random\Engine\Mt19937; 8 echo serialize(new Mt19937(1234)); 12 O:21:"Random\Engine\Mt19937":2:{i:0;a:0:{}i:1;a:626:{i:0;s:8:"5aa6b986";i:1;s:8:"8660cc14";i:2;s:8:…
|
H A D | all_serialize_error.phpt | 6 echo \Random\Engine\Mt19937::class, PHP_EOL; 9 …var_dump(unserialize('O:21:"Random\Engine\Mt19937":2:{i:0;a:0:{}i:1;a:626:{i:0;s:7:"5aa6b98";i:1;s… 16 …var_dump(unserialize('O:21:"Random\Engine\Mt19937":2:{i:0;a:0:{}i:1;a:626:{i:0;s:8:"5aa6b98g";i:1;… 23 …var_dump(unserialize('O:21:"Random\Engine\Mt19937":2:{i:0;a:0:{}i:1;a:626:{i:0;s:8:"5aa6b986";i:1;… 30 …var_dump(unserialize('O:21:"Random\Engine\Mt19937":2:{i:0;a:0:{}i:1;a:626:{i:0;s:8:"5aa6b986";i:1;… 83 Random\Engine\Mt19937 84 Invalid serialization data for Random\Engine\Mt19937 object 85 Invalid serialization data for Random\Engine\Mt19937 object 86 Invalid serialization data for Random\Engine\Mt19937 object 87 Invalid serialization data for Random\Engine\Mt19937 object
|
/PHP-8.2/ext/random/tests/03_randomizer/methods/ |
H A D | getInt_gh9415.phpt | 2 GH-9415: Randomizer::getInt(0, 2**32 - 1) with Mt19937 always returns 1 7 use Random\Engine\Mt19937; 9 $randomizer = new Randomizer(new Mt19937(1234)); 13 $randomizer = new Randomizer(new Mt19937(4321));
|
H A D | getBytes.phpt | 7 use Random\Engine\Mt19937; 17 $engines[] = new Mt19937(null, MT_RAND_MT19937); 18 $engines[] = new Mt19937(null, MT_RAND_PHP); 41 Random\Engine\Mt19937 42 Random\Engine\Mt19937
|
H A D | nextInt.phpt | 7 use Random\Engine\Mt19937; 17 $engines[] = new Mt19937(null, MT_RAND_MT19937); 18 $engines[] = new Mt19937(null, MT_RAND_PHP); 44 Random\Engine\Mt19937 45 Random\Engine\Mt19937
|
H A D | getInt.phpt | 7 use Random\Engine\Mt19937; 17 $engines[] = new Mt19937(null, MT_RAND_MT19937); 18 $engines[] = new Mt19937(null, MT_RAND_PHP); 48 Random\Engine\Mt19937 49 Random\Engine\Mt19937
|
H A D | shuffleArray.phpt | 7 use Random\Engine\Mt19937; 17 $engines[] = new Mt19937(null, MT_RAND_MT19937); 18 $engines[] = new Mt19937(null, MT_RAND_PHP); 47 Random\Engine\Mt19937 48 Random\Engine\Mt19937
|
H A D | shuffleBytes.phpt | 7 use Random\Engine\Mt19937; 17 $engines[] = new Mt19937(null, MT_RAND_MT19937); 18 $engines[] = new Mt19937(null, MT_RAND_PHP); 54 Random\Engine\Mt19937 55 Random\Engine\Mt19937
|
H A D | pickArrayKeys.phpt | 7 use Random\Engine\Mt19937; 17 $engines[] = new Mt19937(null, MT_RAND_MT19937); 18 $engines[] = new Mt19937(null, MT_RAND_PHP); 78 Random\Engine\Mt19937 79 Random\Engine\Mt19937
|
/PHP-8.2/ext/random/tests/03_randomizer/ |
H A D | serialize.phpt | 7 use Random\Engine\Mt19937; 16 $engines[] = new Mt19937(1234, MT_RAND_MT19937); 17 $engines[] = new Mt19937(1234, MT_RAND_PHP); 45 Random\Engine\Mt19937 46 Random\Engine\Mt19937
|
H A D | compatibility_mt_rand.phpt | 2 Random: Randomizer: The Mt19937 engine is a drop-in replacement for mt_rand() 7 use Random\Engine\Mt19937; 11 $randomizer = new Randomizer(new Mt19937(1234, MT_RAND_PHP)); 28 $randomizer = new Randomizer(new Mt19937(1234, MT_RAND_MT19937));
|
H A D | compatibility_array_rand.phpt | 2 Random: Randomizer: The Mt19937 engine and pickArrayKeys are consistent with array_rand() 6 use Random\Engine\Mt19937; 20 $randomizer = new Randomizer(new Mt19937(1234));
|
H A D | compatibility_user.phpt | 7 use Random\Engine\Mt19937; 16 $engines[] = new Mt19937(1234); 40 Random\Engine\Mt19937
|
/PHP-8.2/ext/random/ |
H A D | random.stub.php | 44 final class Mt19937 implements \Random\Engine class
|
/PHP-8.2/ |
H A D | NEWS | 822 . Fixed bug GH-13690 (Global Mt19937 is not properly reset in-between 2283 . Changed Mt19937 to throw a ValueError instead of InvalidArgumentException 2297 . Fixed bug GH-9415 (Randomizer::getInt(0, 2**32 - 1) with Mt19937
|
Completed in 20 milliseconds