Home
last modified time | relevance | path

Searched refs:nextInt (Results 1 – 9 of 9) sorted by relevance

/PHP-8.4/ext/random/tests/03_randomizer/
H A Dcompatibility_mt_rand.phpt15 if ($randomizer->nextInt() !== mt_rand()) {
16 die("failure: state differs at {$i} for nextInt()");
32 if ($randomizer->nextInt() !== mt_rand()) {
33 die("failure: state differs at {$i} for nextInt()");
H A Dengine_unsafe_biased.phpt29 var_dump(randomizer()->nextInt());
H A Dengine_unsafe_empty_string.phpt29 var_dump(randomizer()->nextInt());
H A Dengine_unsafe_nul.phpt29 var_dump(randomizer()->nextInt());
/PHP-8.4/ext/random/tests/03_randomizer/methods/
H A DnextInt_64_engine_on_32_platform.phpt2 Random: Randomizer: nextInt(): Throws for 64 bit engines on 32 bit platforms
14 var_dump($randomizer->nextInt());
H A DnextInt.phpt2 Random: Randomizer: nextInt(): Basic functionality
31 $randomizer->nextInt();
/PHP-8.4/ext/random/
H A Drandom.stub.php136 public function nextInt(): int {} function in Random\\Randomizer
H A Drandom_arginfo.h145 ZEND_METHOD(Random_Randomizer, nextInt);
212 ZEND_ME(Random_Randomizer, nextInt, arginfo_class_Random_Randomizer_nextInt, ZEND_ACC_PUBLIC)
H A Drandomizer.c211 PHP_METHOD(Random_Randomizer, nextInt) in PHP_METHOD() argument

Completed in 16 milliseconds