Home
last modified time | relevance | path

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

123

/php-src/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;
47 Random\Engine\Mt19937
48 Random\Engine\Mt19937
50 Random\Engine\Xoshiro256StarStar
51 Random\Engine\Secure
[all …]
H A DgetFloat_error.phpt2 Random: Randomizer: getFloat(): Parameters are correctly validated
6 use Random\IntervalBoundary;
7 use Random\Randomizer;
88 Random\Randomizer::getFloat(): Argument #1 ($min) must be finite
89 Random\Randomizer::getFloat(): Argument #1 ($min) must be finite
90 Random\Randomizer::getFloat(): Argument #1 ($min) must be finite
91 Random\Randomizer::getFloat(): Argument #2 ($max) must be finite
92 Random\Randomizer::getFloat(): Argument #2 ($max) must be finite
93 Random\Randomizer::getFloat(): Argument #2 ($max) must be finite
99 Random\Randomizer::getFloat(): Argument #1 ($min) must be finite
[all …]
H A DgetFloat.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\IntervalBoundary;
13 use Random\Randomizer;
48 Random\Engine\Mt19937
49 Random\Engine\Mt19937
51 Random\Engine\Xoshiro256StarStar
[all …]
H A DnextFloat.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 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;
45 Random\Engine\Mt19937
46 Random\Engine\Mt19937
48 Random\Engine\Xoshiro256StarStar
49 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;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
52 Random\Engine\Mt19937
53 Random\Engine\Mt19937
55 Random\Engine\Xoshiro256StarStar
[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;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
51 Random\Engine\Mt19937
52 Random\Engine\Mt19937
54 Random\Engine\Xoshiro256StarStar
[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;
58 Random\Engine\Mt19937
59 Random\Engine\Mt19937
61 Random\Engine\Xoshiro256StarStar
[all …]
H A DgetBytesFromString.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;
49 Random\Engine\Mt19937
52 Random\Engine\Mt19937
58 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;
82 Random\Engine\Mt19937
83 Random\Engine\Mt19937
85 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) must not 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-src/ext/random/tests/03_randomizer/
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;
41 Random\Engine\Mt19937
42 Random\Engine\PcgOneseq128XslRr64
43 Random\Engine\Xoshiro256StarStar
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;
49 Random\Engine\Mt19937
50 Random\Engine\Mt19937
51 Random\Engine\PcgOneseq128XslRr64
52 Random\Engine\Xoshiro256StarStar
[all …]
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.phpt6 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) {
66 } catch (Random\BrokenRandomEngineError $e) {
[all …]
H A Dengine_unsafe_empty_string.phpt6 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) {
66 } catch (Random\BrokenRandomEngineError $e) {
[all …]
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) {
[all …]
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
/php-src/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 Dall_serialize_user.phpt2 Random: Engine: Serialization of user engines must preserve the sequence
6 use Random\Engine;
7 use Random\Engine\Test\TestCountingEngine32;
8 use Random\Engine\Test\TestShaEngine;
37 Random\Engine\Test\TestCountingEngine32
38 Random\Engine\Test\TestShaEngine

Completed in 37 milliseconds

123