/PHP-8.3/ext/standard/tests/strings/ |
H A D | sprintf_variation28.phpt | 18 -2147483648, // max negative integer value 20 2147483647, // max positive integer value 26 -0x80000000, // max negative integer as hexadecimal 27 0x7fffffff, // max positive integer as hexadecimal 28 0x7FFFFFFF, // max positive integer as hexadecimal 31 -020000000000, // max negative integer as octal 32 017777777777 // max positive integer as octal
|
H A D | sprintf_variation28_64bit.phpt | 14 -2147483648, // max negative integer value 16 2147483647, // max positive integer value 22 -0x80000000, // max negative integer as hexadecimal 23 0x7fffffff, // max positive integer as hexadecimal 24 0x7FFFFFFF, // max positive integer as hexadecimal 27 -020000000000, // max negative integer as octal 28 017777777777 // max positive integer as octal
|
H A D | sprintf_variation3.phpt | 12 -2147483648, // max negative integer value 14 2147483647, // max positive integer value 20 -0x80000000, // max negative integer as hexadecimal 21 0x7fffffff, // max positive integer as hexadecimal 22 0x7FFFFFFF, // max positive integer as hexadecimal 25 -020000000000, // max negative integer as octal 26 017777777777 // max positive integer as octal
|
H A D | sprintf_variation40.phpt | 18 -2147483648, // max negative integer value 20 2147483647, // max positive integer value 26 -0x80000000, // max negative integer as hexadecimal 27 0x7fffffff, // max positive integer as hexadecimal 28 0x7FFFFFFF, // max positive integer as hexadecimal 31 -020000000000, // max negative integer as octal 32 017777777777 // max positive integer as octal
|
H A D | sprintf_variation40_64bit.phpt | 14 -2147483648, // max negative integer value 16 2147483647, // max positive integer value 22 -0x80000000, // max negative integer as hexadecimal 23 0x7fffffff, // max positive integer as hexadecimal 24 0x7FFFFFFF, // max positive integer as hexadecimal 27 -020000000000, // max negative integer as octal 28 017777777777 // max positive integer as octal
|
/PHP-8.3/ext/random/ |
H A D | random.c | 438 return php_mt_rand_range(min, max); 511 zend_long min, max; local 521 Z_PARAM_LONG(max) 524 if (UNEXPECTED(max < min)) { 529 RETURN_LONG(php_mt_rand_common(min, max)); 549 zend_long min, max; local 559 Z_PARAM_LONG(max) 562 if (max < min) { 601 zend_long min, max, result; local 605 Z_PARAM_LONG(max) [all …]
|
H A D | random.stub.php | 25 function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument 27 function mt_rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument 37 function random_int(int $min, int $max): int {} argument 139 …public function getFloat(float $min, float $max, IntervalBoundary $boundary = IntervalBoundary::Cl… argument 141 public function getInt(int $min, int $max): int {} argument
|
H A D | engine_secure.c | 36 static zend_long range(php_random_status *status, zend_long min, zend_long max) in range() argument 40 php_random_int_throw(min, max, &result); in range()
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | strval.phpt | 31 -2147483648, // max negative integer value 33 2147483647, // max positive integer value 41 -0x80000000, // max negative integer as hexadecimal 42 0x7fffffff, // max positive integer as hexadecimal 43 0x7FFFFFFF, // max positive integer as hexadecimal 46 -020000000000, // max negative integer as octal 47 017777777777, // max positive integer as octal 50 -0x80000001, // float value, beyond max negative int 51 0x800000001, // float value, beyond max positive int 52 020000000001, // float value, beyond max positive int [all …]
|
H A D | bug76717.phpt | 7 $max = eval('return '.var_export(PHP_INT_MAX, true).';'); 9 var_dump($max === PHP_INT_MAX);
|
/PHP-8.3/ext/opcache/tests/jit/ |
H A D | bug79888.phpt | 27 $max = 1000; 29 echo "Testing Primes until: " . $max . "\n"; 30 for ($i = 2; $i <= $max; $i++)
|
/PHP-8.3/Zend/ |
H A D | zend_ptr_stack.h | 24 int top, max; member 46 if (stack->top+count > stack->max) { \ in END_EXTERN_C() 49 stack->max += PTR_STACK_BLOCK_SIZE; \ in END_EXTERN_C() 50 } while (stack->top+count > stack->max); \ in END_EXTERN_C() 51 …stack->elements = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack… in END_EXTERN_C()
|
H A D | zend_stack.c | 29 stack->max = 0; in zend_stack_init() 36 if (stack->top >= stack->max) { in zend_stack_push() 37 stack->max += STACK_BLOCK_SIZE; in zend_stack_push() 38 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push() 158 stack->top = stack->max = 0; in zend_stack_clean()
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | max_basiclong_64bit.phpt | 2 Test max function : 64bit long tests 27 var_dump(max($arrayVals)); 28 var_dump(max($longVals));
|
H A D | array_push_error2.phpt | 2 Test array_push() function : error conditions - max int value as key 12 $array = array(PHP_INT_MAX => 'max'); 26 string(3) "max"
|
/PHP-8.3/ext/standard/tests/file/ |
H A D | fread_variation1.phpt | 111 -- Reading file content less than max. file size, expected : 1000 bytes -- 126 -- Reading file content less than max. file size, expected : 1000 bytes -- 141 -- Reading file content less than max. file size, expected : 1000 bytes -- 156 -- Reading file content less than max. file size, expected : 1000 bytes -- 171 -- Reading file content less than max. file size, expected : 1000 bytes -- 186 -- Reading file content less than max. file size, expected : 1000 bytes -- 201 -- Reading file content less than max. file size, expected : 1000 bytes -- 216 -- Reading file content less than max. file size, expected : 1000 bytes -- 231 -- Reading file content less than max. file size, expected : 1000 bytes -- 248 -- Reading file content less than max. file size, expected : 1000 bytes -- [all …]
|
/PHP-8.3/sapi/fpm/tests/ |
H A D | status-basic.phpt | 24 'max listen queue' => 0, 28 'max active processes' => 1, 29 'max children reached' => 0,
|
H A D | status-listen.phpt | 25 'max listen queue' => 0, 29 'max active processes' => 1, 30 'max children reached' => 0,
|
/PHP-8.3/ext/standard/tests/http/ |
H A D | gh15034.phpt | 31 global $max; 32 $max = $bytes_max; 41 var_dump($max);
|
/PHP-8.3/ext/filter/tests/ |
H A D | filter_ipv4_rfc6890.phpt | 23 list($min, $max) = $range; 26 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE)); 77 list($min, $max) = $range; 80 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
|
/PHP-8.3/tests/classes/ |
H A D | iterators_004.phpt | 20 public $max = 3; 33 return $this->num < $this->max; 57 object:max=>3
|
/PHP-8.3/Zend/tests/ |
H A D | symtable_cache_recursive_dtor.phpt | 7 static $max = 40; 9 if (self::$max-- < 0) return;
|
/PHP-8.3/ext/random/tests/03_randomizer/methods/ |
H A D | getFloat_opposite_signs.phpt | 28 $max = 1; 30 printf("%.17g\n\n", $max); 34 $float = $r->getFloat($min, $max);
|
/PHP-8.3/ext/random/tests/01_functions/ |
H A D | bug46587.phpt | 2 Bug #46587 (mt_rand() does not check that max is greater than min). 17 mt_rand(): Argument #2 ($max) must be greater than or equal to argument #1 ($min)
|
/PHP-8.3/ext/standard/tests/math/ |
H A D | allowed_rounding_error.inc | 9 $max = $expected + $small_number; 11 if ($number < $max && $number > $min ) {
|