/PHP-8.3/ext/random/tests/03_randomizer/methods/ |
H A D | nextInt.phpt | 6 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 D | getFloat.phpt | 6 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; 47 Random\Engine\Mt19937 48 Random\Engine\Mt19937 50 Random\Engine\Xoshiro256StarStar [all …]
|
H A D | getFloat_error.phpt | 2 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 D | getBytes.phpt | 6 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 D | nextFloat.phpt | 6 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; 46 Random\Engine\Mt19937 47 Random\Engine\Mt19937 49 Random\Engine\Xoshiro256StarStar 50 Random\Engine\Secure [all …]
|
H A D | getInt.phpt | 6 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 D | shuffleArray.phpt | 6 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; 50 Random\Engine\Mt19937 51 Random\Engine\Mt19937 53 Random\Engine\Xoshiro256StarStar [all …]
|
H A D | shuffleBytes.phpt | 6 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; 57 Random\Engine\Mt19937 58 Random\Engine\Mt19937 60 Random\Engine\Xoshiro256StarStar [all …]
|
H A D | getBytesFromString.phpt | 6 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; 48 Random\Engine\Mt19937 51 Random\Engine\Mt19937 57 Random\Engine\Xoshiro256StarStar [all …]
|
H A D | pickArrayKeys.phpt | 6 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; 81 Random\Engine\Mt19937 82 Random\Engine\Mt19937 84 Random\Engine\Xoshiro256StarStar [all …]
|
H A D | pickArrayKeys_error.phpt | 2 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 D | nextInt_64_engine_on_32_platform.phpt | 2 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.3/ext/random/tests/03_randomizer/ |
H A D | compatibility_user.phpt | 2 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 D | serialize.phpt | 6 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; 48 Random\Engine\Mt19937 49 Random\Engine\Mt19937 50 Random\Engine\PcgOneseq128XslRr64 51 Random\Engine\Xoshiro256StarStar [all …]
|
H A D | construct_twice.phpt | 2 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 D | engine_unsafe_biased.phpt | 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) { 66 } catch (Random\BrokenRandomEngineError $e) { [all …]
|
H A D | engine_unsafe_empty_string.phpt | 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) { 66 } catch (Random\BrokenRandomEngineError $e) { [all …]
|
H A D | engine_unsafe_nul.phpt | 2 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 D | readonly.phpt | 2 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 D | serialize_disallowed.phpt | 2 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-8.3/ext/random/tests/02_engine/ |
H A D | user_compatibility.phpt | 2 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 D | all_serialize_native.phpt | 2 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 D | pcgoneseq128xslrr64_seed.phpt | 2 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 D | xoshiro256starstar_seed.phpt | 2 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 D | all_serialize_user.phpt | 2 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; 36 Random\Engine\Test\TestCountingEngine32 37 Random\Engine\Test\TestShaEngine
|