Home
last modified time | relevance | path

Searched refs:Random (Results 1 – 25 of 48) sorted by relevance

12

/PHP-8.2/ext/random/tests/03_randomizer/methods/
H A DnextInt.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
12 use Random\Randomizer;
44 Random\Engine\Mt19937
45 Random\Engine\Mt19937
47 Random\Engine\Xoshiro256StarStar
48 Random\Engine\Secure
[all …]
H A DgetBytes.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
12 use Random\Randomizer;
41 Random\Engine\Mt19937
42 Random\Engine\Mt19937
44 Random\Engine\Xoshiro256StarStar
45 Random\Engine\Secure
[all …]
H A DgetInt.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
12 use Random\Randomizer;
48 Random\Engine\Mt19937
49 Random\Engine\Mt19937
51 Random\Engine\Xoshiro256StarStar
52 Random\Engine\Secure
[all …]
H A DshuffleArray.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
12 use Random\Randomizer;
47 Random\Engine\Mt19937
48 Random\Engine\Mt19937
50 Random\Engine\Xoshiro256StarStar
51 Random\Engine\Secure
[all …]
H A DshuffleBytes.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
54 Random\Engine\Mt19937
55 Random\Engine\Mt19937
57 Random\Engine\Xoshiro256StarStar
[all …]
H A DpickArrayKeys.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
78 Random\Engine\Mt19937
79 Random\Engine\Mt19937
81 Random\Engine\Xoshiro256StarStar
[all …]
H A DpickArrayKeys_error.phpt2 Random: Randomizer: pickArrayKeys(): Parameters are correctly validated
6 use Random\Randomizer;
45 Random\Randomizer::pickArrayKeys(): Argument #1 ($array) must be of type array, string given
46 Random\Randomizer::pickArrayKeys(): Argument #1 ($array) cannot be empty
47 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements…
48 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements…
49 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements…
H A DnextInt_64_engine_on_32_platform.phpt2 Random: Randomizer: nextInt(): Throws for 64 bit engines on 32 bit platforms
8 use Random\Randomizer;
9 use Random\Engine\Xoshiro256StarStar;
15 } catch (Random\RandomException $e) {
/PHP-8.2/ext/random/tests/03_randomizer/
H A Dserialize.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Test\TestShaEngine;
10 use Random\Engine\Xoshiro256StarStar;
11 use Random\Randomizer;
45 Random\Engine\Mt19937
46 Random\Engine\Mt19937
47 Random\Engine\PcgOneseq128XslRr64
48 Random\Engine\Xoshiro256StarStar
[all …]
H A Dcompatibility_user.phpt2 Random: Randomizer: Native engines can be wrapped without changing their sequence
6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Test\TestWrapperEngine;
10 use Random\Engine\Xoshiro256StarStar;
11 use Random\Randomizer;
40 Random\Engine\Mt19937
41 Random\Engine\PcgOneseq128XslRr64
42 Random\Engine\Xoshiro256StarStar
H A Dconstruct_twice.phpt2 Random: Randomizer: Calling __construct() fails due to readonly $engine property
6 use Random\Engine;
7 use Random\Engine\PcgOneseq128XslRr64;
8 use Random\Engine\Test\TestShaEngine;
9 use Random\Engine\Xoshiro256StarStar;
10 use Random\Randomizer;
47 Cannot modify readonly property Random\Randomizer::$engine
48 Cannot modify readonly property Random\Randomizer::$engine
49 Cannot modify readonly property Random\Randomizer::$engine
50 Cannot modify readonly property Random\Randomizer::$engine
[all …]
H A Dengine_unsafe_biased.phpt2 Random: Randomizer: Heavily biased engines are detected and rejected
6 use Random\Engine;
7 use Random\Randomizer;
24 } catch (Random\BrokenRandomEngineError $e) {
30 } catch (Random\BrokenRandomEngineError $e) {
36 } catch (Random\BrokenRandomEngineError $e) {
42 } catch (Random\BrokenRandomEngineError $e) {
48 } catch (Random\BrokenRandomEngineError $e) {
54 } catch (Random\BrokenRandomEngineError $e) {
60 } catch (Random\BrokenRandomEngineError $e) {
H A Dengine_unsafe_empty_string.phpt2 Random: Randomizer: Engines returning an empty string are detected and rejected
6 use Random\Engine;
7 use Random\Randomizer;
24 } catch (Random\BrokenRandomEngineError $e) {
30 } catch (Random\BrokenRandomEngineError $e) {
36 } catch (Random\BrokenRandomEngineError $e) {
42 } catch (Random\BrokenRandomEngineError $e) {
48 } catch (Random\BrokenRandomEngineError $e) {
54 } catch (Random\BrokenRandomEngineError $e) {
60 } catch (Random\BrokenRandomEngineError $e) {
H A Dreadonly.phpt2 Random: Randomizer: The engine property must be readonly
6 use Random\Engine\PcgOneseq128XslRr64;
7 use Random\Engine\Xoshiro256StarStar;
8 use Random\Randomizer;
29 Cannot modify readonly property Random\Randomizer::$engine
H A Dserialize_disallowed.phpt2 Random: Randomizer: Serialization of the Randomizer fails if the engine is not serializable
6 use Random\Engine\Secure;
7 use Random\Randomizer;
17 Serialization of 'Random\Engine\Secure' is not allowed
H A Dengine_unsafe_nul.phpt2 Random: Randomizer: Nul engines are correctly handled
6 use Random\Engine;
7 use Random\Randomizer;
24 } catch (Random\BrokenRandomEngineError $e) {
30 } catch (Random\BrokenRandomEngineError $e) {
36 } catch (Random\BrokenRandomEngineError $e) {
42 } catch (Random\BrokenRandomEngineError $e) {
48 } catch (Random\BrokenRandomEngineError $e) {
54 } catch (Random\BrokenRandomEngineError $e) {
60 } catch (Random\BrokenRandomEngineError $e) {
H A Dengine_unsafe_throws.phpt2 Random: Randomizer: Engines throwing an exception are gracefully handled
6 use Random\Engine;
7 use Random\Randomizer;
26 #1 %s(%d): Random\Randomizer->getBytes(1)
H A Dengine_unsafe_exits.phpt2 Random: Randomizer: Engines calling exit() are gracefully handled
6 use Random\Engine;
7 use Random\Randomizer;
/PHP-8.2/ext/random/tests/02_engine/
H A Duser_compatibility.phpt2 Random: Engine: Native engines can be wrapped without changing their sequence
6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Test\TestWrapperEngine;
10 use Random\Engine\Xoshiro256StarStar;
36 Random\Engine\Mt19937
37 Random\Engine\PcgOneseq128XslRr64
38 Random\Engine\Xoshiro256StarStar
H A Dall_serialize_native.phpt2 Random: Engine: Serialization of native engines must preserve the sequence
6 use Random\Engine\Mt19937;
7 use Random\Engine\PcgOneseq128XslRr64;
8 use Random\Engine\Xoshiro256StarStar;
35 Random\Engine\Mt19937
36 Random\Engine\PcgOneseq128XslRr64
37 Random\Engine\Xoshiro256StarStar
H A Dpcgoneseq128xslrr64_seed.phpt2 Random: Engine: PcgOneseq128XslRr64: The seed parameter must work as expected
6 use Random\Engine\PcgOneseq128XslRr64;
8 echo "Random integer seed", PHP_EOL;
12 echo "Random string seed", PHP_EOL;
45 Random integer seed
48 Random string seed
52 Random\Engine\PcgOneseq128XslRr64::__construct(): Argument #1 ($seed) must be of type string|int|nu…
56 Random\Engine\PcgOneseq128XslRr64::__construct(): Argument #1 ($seed) must be a 16 byte (128 bit) s…
60 object(Random\Engine\PcgOneseq128XslRr64)#3 (1) {
H A Dxoshiro256starstar_seed.phpt2 Random: Engine: Xoshiro256StarStar: The seed parameter must work as expected
6 use Random\Engine\Xoshiro256StarStar;
8 echo "Random integer seed", PHP_EOL;
12 echo "Random string seed", PHP_EOL;
53 Random integer seed
56 Random string seed
60 Random\Engine\Xoshiro256StarStar::__construct(): Argument #1 ($seed) must be of type string|int|nul…
64 Random\Engine\Xoshiro256StarStar::__construct(): Argument #1 ($seed) must be a 32 byte (256 bit) st…
68 Random\Engine\Xoshiro256StarStar::__construct(): Argument #1 ($seed) must not consist entirely of N…
72 object(Random\Engine\Xoshiro256StarStar)#%d (%d) {
H A Dpcgoneseq128xslrr64_serialize.phpt2 Random: Engine: PcgOneseq128XslRr64: The serialization output must be stable
6 use Random\Engine\PcgOneseq128XslRr64;
12 O:33:"Random\Engine\PcgOneseq128XslRr64":2:{i:0;a:0:{}i:1;a:2:{i:0;s:16:"c6d571c37c41a8d1";i:1;s:16…
H A Dmt19937_error.phpt2 Random: Engine: Mt19937: Invalid $mode parameter values must be rejected
6 use Random\Engine\Mt19937;
16 Random\Engine\Mt19937::__construct(): Argument #2 ($mode) must be either MT_RAND_MT19937 or MT_RAND…
/PHP-8.2/ext/random/
H A Drandom.stub.php39 namespace Random\Engine
44 final class Mt19937 implements \Random\Engine
60 final class PcgOneseq128XslRr64 implements \Random\Engine
82 final class Xoshiro256StarStar implements \Random\Engine
107 final class Secure implements \Random\CryptoSafeEngine
114 namespace Random namespace

Completed in 14 milliseconds

12