Home
last modified time | relevance | path

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

/PHP-8.2/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
31 if (\strlen($randomizer->getBytes($i)) !== $i) {
/PHP-8.2/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-8.2/ext/random/
H A Drandom.stub.php138 public function getBytes(int $length): string {} function in Random\\Randomizer
H A Drandom_arginfo.h135 ZEND_METHOD(Random_Randomizer, getBytes);
211 ZEND_ME(Random_Randomizer, getBytes, arginfo_class_Random_Randomizer_getBytes, ZEND_ACC_PUBLIC)
H A Drandomizer.c154 PHP_METHOD(Random_Randomizer, getBytes) in PHP_METHOD() argument

Completed in 15 milliseconds