Searched refs:getBytesFromString (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | getBytesFromString_error.phpt | 2 Random: Randomizer: getBytesFromString(): Parameters are correctly validated 14 var_dump(randomizer()->getBytesFromString("", 2)); 20 var_dump(randomizer()->getBytesFromString("abc", 0)); 27 Random\Randomizer::getBytesFromString(): Argument #1 ($string) must not be empty 28 Random\Randomizer::getBytesFromString(): Argument #2 ($length) must be greater than 0
|
H A D | getBytesFromString.phpt | 2 Random: Randomizer: getBytesFromString(): Basic functionality 29 var_dump($randomizer->getBytesFromString('a', 10)); 30 var_dump($randomizer->getBytesFromString(str_repeat('a', 256), 5)); 33 $output = $randomizer->getBytesFromString(str_repeat('ab', $i), 500);
|
H A D | getBytesFromString_fast_path.phpt | 2 Random: Randomizer: getBytesFromString(): Fast Path Masking 29 $result = $r->getBytesFromString(substr($allBytes, 0, $i), 20000); 60 $result = $r->getBytesFromString(substr($allBytes, 0, $oneMore), 20000); 80 $result = $r->getBytesFromString($allBytes . $allBytes, 20000);
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | engine_unsafe_biased.phpt | 65 var_dump(randomizer()->getBytesFromString('123', 10)); 71 var_dump(randomizer()->getBytesFromString(str_repeat('a', 500), 10));
|
H A D | engine_unsafe_empty_string.phpt | 65 var_dump(randomizer()->getBytesFromString('123', 10)); 71 var_dump(randomizer()->getBytesFromString(str_repeat('a', 500), 10));
|
H A D | engine_unsafe_nul.phpt | 65 var_dump(randomizer()->getBytesFromString('123', 10)); 71 var_dump(randomizer()->getBytesFromString(str_repeat('a', 500), 10));
|
/php-src/ext/random/ |
H A D | random.stub.php | 146 public function getBytesFromString(string $string, int $length): string {} function in Random\\Randomizer
|
H A D | random_arginfo.h | 150 ZEND_METHOD(Random_Randomizer, getBytesFromString); 217 …ZEND_ME(Random_Randomizer, getBytesFromString, arginfo_class_Random_Randomizer_getBytesFromString,…
|
H A D | randomizer.c | 419 PHP_METHOD(Random_Randomizer, getBytesFromString) in PHP_METHOD() argument
|
Completed in 14 milliseconds