Home
last modified time | relevance | path

Searched refs:getBytes (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/random/tests/03_randomizer/methods/
H A DgetBytes_expansion.phpt2 Random: Randomizer: getBytes(): Returned bytes are consistently expanded
31 var_dump($randomizer->getBytes(5));
34 var_dump($randomizer->getBytes(11));
37 var_dump($randomizer->getBytes(7));
H A DgetBytes.phpt2 Random: Randomizer: getBytes(): Basic functionality
32 if (\strlen($randomizer->getBytes($i)) !== $i) {
/php-src/ext/random/tests/03_randomizer/
H A Dengine_unsafe_throws.phpt19 var_dump($randomizer->getBytes(1));
26 #1 %s(%d): Random\Randomizer->getBytes(1)
H A Dengine_unsafe_exits.phpt19 var_dump($randomizer->getBytes(1));
H A Dengine_unsafe_biased.phpt35 var_dump(bin2hex(randomizer()->getBytes(1)));
H A Dengine_unsafe_empty_string.phpt35 var_dump(bin2hex(randomizer()->getBytes(1)));
H A Dengine_unsafe_nul.phpt35 var_dump(bin2hex(randomizer()->getBytes(1)));
/php-src/ext/random/
H A Drandom.stub.php144 public function getBytes(int $length): string {} function in Random\\Randomizer
H A Drandom_arginfo.h149 ZEND_METHOD(Random_Randomizer, getBytes);
216 ZEND_ME(Random_Randomizer, getBytes, arginfo_class_Random_Randomizer_getBytes, ZEND_ACC_PUBLIC)
H A Drandomizer.c275 PHP_METHOD(Random_Randomizer, getBytes) in PHP_METHOD() argument

Completed in 12 milliseconds