Home
last modified time | relevance | path

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

/PHP-8.2/ext/random/tests/02_engine/
H A Dmt19937_error.phpt2 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 Dmt19937_value.phpt2 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 Dall_serialize_native.phpt6 use Random\Engine\Mt19937;
11 $engines[] = new Mt19937(1234);
35 Random\Engine\Mt19937
H A Duser_compatibility.phpt7 use Random\Engine\Mt19937;
15 $engines[] = new Mt19937(1234);
36 Random\Engine\Mt19937
H A Dmt19937_serialize.phpt2 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 Dall_serialize_error.phpt6 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 DgetInt_gh9415.phpt2 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 DgetBytes.phpt7 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 DnextInt.phpt7 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 DgetInt.phpt7 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 DshuffleArray.phpt7 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 DshuffleBytes.phpt7 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 DpickArrayKeys.phpt7 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 Dserialize.phpt7 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 Dcompatibility_mt_rand.phpt2 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 Dcompatibility_array_rand.phpt2 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 Dcompatibility_user.phpt7 use Random\Engine\Mt19937;
16 $engines[] = new Mt19937(1234);
40 Random\Engine\Mt19937
/PHP-8.2/ext/random/
H A Drandom.stub.php44 final class Mt19937 implements \Random\Engine class
/PHP-8.2/
H A DNEWS822 . 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 25 milliseconds