Searched refs:getInt (Results 1 – 17 of 17) sorted by relevance
/PHP-8.3/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.3/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_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))));
|
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);
|
/PHP-8.3/ext/opcache/tests/opt/ |
H A D | type_inference_final_class.phpt | 16 public function getInt(): int { 20 return $this->getInt(); 32 Test::getInt:
|
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.3/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.3/ext/random/ |
H A D | random.stub.php | 141 public function getInt(int $min, int $max): int {} function in Random\\Randomizer
|
H A D | random_arginfo.h | 149 ZEND_METHOD(Random_Randomizer, getInt); 228 ZEND_ME(Random_Randomizer, getInt, arginfo_class_Random_Randomizer_getInt, ZEND_ACC_PUBLIC)
|
H A D | randomizer.c | 229 PHP_METHOD(Random_Randomizer, getInt) in PHP_METHOD() argument
|
Completed in 32 milliseconds