/php-src/ext/standard/tests/strings/ |
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-src/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-src/ext/opcache/tests/jit/ |
H A D | bug79888.phpt | 26 $max = 1000; 28 echo "Testing Primes until: " . $max . "\n"; 29 for ($i = 2; $i <= $max; $i++)
|
/php-src/Zend/ |
H A D | zend_ptr_stack.h | 26 int top, max; member 48 if (stack->top+count > stack->max) { \ in END_EXTERN_C() 51 stack->max += PTR_STACK_BLOCK_SIZE; \ in END_EXTERN_C() 52 } while (stack->top+count > stack->max); \ in END_EXTERN_C() 53 …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-src/ext/random/ |
H A D | random.stub.php | 26 function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument 28 function mt_rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument 38 function random_int(int $min, int $max): int {} argument 140 …public function getFloat(float $min, float $max, IntervalBoundary $boundary = IntervalBoundary::Cl… argument 142 public function getInt(int $min, int $max): int {} argument
|
H A D | random.c | 468 return php_mt_rand_range(min, max); 526 zend_long min, max; local 536 Z_PARAM_LONG(max) 539 if (UNEXPECTED(max < min)) { 544 RETURN_LONG(php_mt_rand_common(min, max)); 564 zend_long min, max; local 574 Z_PARAM_LONG(max) 577 if (max < min) { 616 zend_long min, max, result; local 620 Z_PARAM_LONG(max) [all …]
|
H A D | php_random.h | 61 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max); 62 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max); 91 zend_long (*range)(void *state, zend_long min, zend_long max); 159 PHPAPI zend_long php_random_range(php_random_algo_with_state engine, zend_long min, zend_long max); 185 …ble php_random_gammasection_closed_open(php_random_algo_with_state engine, double min, double max); 186 …e php_random_gammasection_closed_closed(php_random_algo_with_state engine, double min, double max); 187 …ble php_random_gammasection_open_closed(php_random_algo_with_state engine, double min, double max); 188 …ouble php_random_gammasection_open_open(php_random_algo_with_state engine, double min, double max);
|
H A D | engine_secure.c | 40 static zend_long range(void *state, zend_long min, zend_long max) in range() argument 44 php_random_int_throw(min, max, &result); in range()
|
/php-src/ext/standard/tests/array/ |
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"
|
H A D | max_basiclong_64bit.phpt | 2 Test max function : 64bit long tests 27 var_dump(max($arrayVals)); 28 var_dump(max($longVals));
|
/php-src/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-src/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-src/ext/standard/tests/http/ |
H A D | gh15034.phpt | 31 global $max; 32 $max = $bytes_max; 41 var_dump($max);
|
/php-src/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-src/tests/classes/ |
H A D | iterators_004.phpt | 20 public $max = 3; 33 return $this->num < $this->max; 57 object:max=>3
|
/php-src/Zend/tests/ |
H A D | symtable_cache_recursive_dtor.phpt | 7 static $max = 40; 9 if (self::$max-- < 0) return;
|
/php-src/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-src/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-src/ext/standard/tests/math/ |
H A D | allowed_rounding_error.inc | 9 $max = $expected + $small_number; 11 if ($number < $max && $number > $min ) {
|