Searched refs:getInt (Results 1 – 17 of 17) sorted by relevance
/PHP-8.2/Zend/tests/ |
H A D | prototype_range.phpt | 8 public function getInt(): int { return 0; } 11 return $this->getInt(); 16 public function getInt(): int { return 1; }
|
/PHP-8.2/ext/random/tests/03_randomizer/methods/ |
H A D | getInt_gh9415.phpt | 2 GH-9415: Randomizer::getInt(0, 2**32 - 1) with Mt19937 always returns 1 11 var_dump($randomizer->getInt(-2147483648, 2147483647)); 14 var_dump($randomizer->getInt(-2147483648, 2147483647));
|
H A D | getInt_expansion_32.phpt | 2 Random: Randomizer: getInt(): Returned values with insufficient bits are correctly expanded 21 var_dump(bin2hex(pack('V', $randomizer->getInt(0, 0x00FF_FFFF))));
|
H A D | getInt.phpt | 2 Random: Randomizer: getInt(): Basic functionality 31 $result = $randomizer->getInt(-$i, $i); 40 $randomizer->getInt(PHP_INT_MIN, PHP_INT_MAX);
|
H A D | getInt_expansion_64.phpt | 2 Random: Randomizer: getInt(): Returned values with insufficient bits are correctly expanded (64 Bit) 23 var_dump(bin2hex(pack('P', $randomizer->getInt(0, 0x00FF_FFFF_FFFF_FFFF))));
|
/PHP-8.2/ext/random/tests/03_randomizer/ |
H A D | compatibility_mt_rand.phpt | 21 if ($randomizer->getInt(0, $i) !== mt_rand(0, $i)) { 22 die("failure: state differs at {$i} for getInt()"); 38 if ($randomizer->getInt(0, $i) !== mt_rand(0, $i)) { 39 die("failure: state differs at {$i} for getInt()");
|
H A D | serialize.phpt | 28 $randomizer->getInt(0, $i); 34 if ($randomizer->getInt(0, $i) !== $randomizer2->getInt(0, $i)) {
|
H A D | readonly.phpt | 20 if ($randomizer->getInt(0, $i) !== $referenceRandomizer->getInt(0, $i)) {
|
H A D | compatibility_user.phpt | 27 $native = $native_randomizer->getInt(0, $i); 28 $user = $user_randomizer->getInt(0, $i);
|
H A D | engine_unsafe_biased.phpt | 23 var_dump(randomizer()->getInt(0, 1234));
|
H A D | engine_unsafe_empty_string.phpt | 23 var_dump(randomizer()->getInt(0, 1234));
|
H A D | engine_unsafe_nul.phpt | 23 var_dump(randomizer()->getInt(0, 1234));
|
/PHP-8.2/ext/opcache/tests/opt/ |
H A D | verify_return_type.phpt | 20 final public function getInt(): int { 26 public function getInt(): int { 30 return $this->getInt(); 95 Test1::getInt: 103 Test2::getInt: 113 0000 INIT_METHOD_CALL 0 THIS string("getInt")
|
/PHP-8.2/ext/random/ |
H A D | random.stub.php | 136 public function getInt(int $min, int $max): int {} function in Random\\Randomizer
|
H A D | random_arginfo.h | 134 ZEND_METHOD(Random_Randomizer, getInt); 210 ZEND_ME(Random_Randomizer, getInt, arginfo_class_Random_Randomizer_getInt, ZEND_ACC_PUBLIC)
|
H A D | randomizer.c | 113 PHP_METHOD(Random_Randomizer, getInt) in PHP_METHOD() argument
|
/PHP-8.2/ |
H A D | NEWS | 2285 . Splitted Random\Randomizer::getInt() (without arguments) to 2297 . Fixed bug GH-9415 (Randomizer::getInt(0, 2**32 - 1) with Mt19937 2299 . Fixed Randomizer::getInt() consistency for 32-bit engines. (timwolla)
|
Completed in 23 milliseconds