/php-src/ext/standard/tests/array/ |
H A D | max_int_float_optimisation.phpt | 18 var_dump(max(PHP_INT_MAX-1, PHP_INT_MAX, PHP_INT_MAX*2)); 20 var_dump(max(PHP_INT_MAX-1, PHP_INT_MAX, PHP_INT_MAX**20)); 32 var_dump(max(PHP_INT_MAX*2, PHP_INT_MAX, PHP_INT_MAX-1)); 34 var_dump(max(PHP_INT_MAX**20, PHP_INT_MAX, PHP_INT_MAX-1));
|
H A D | min_int_float_optimisation.phpt | 17 var_dump(min(PHP_INT_MAX-1, PHP_INT_MAX, PHP_INT_MAX*2)); 20 var_dump(min(PHP_INT_MAX-1, PHP_INT_MAX, PHP_INT_MAX**20)); 31 var_dump(min(PHP_INT_MAX*2, PHP_INT_MAX, PHP_INT_MAX-1)); 34 var_dump(min(PHP_INT_MAX**20, PHP_INT_MAX, PHP_INT_MAX-1));
|
H A D | bug65304.phpt | 5 var_dump(array_sum(array(PHP_INT_MAX, 1))); 6 var_dump(PHP_INT_MAX + 1);
|
H A D | bug61058.phpt | 2 Bug #61058 (array_fill leaks if start index is PHP_INT_MAX) 7 array_fill(PHP_INT_MAX, 2, '*');
|
H A D | array_fill_variation6.phpt | 5 $a = array_fill(PHP_INT_MAX, 1, "foo"); 8 array_key_exists(PHP_INT_MAX, $a),
|
/php-src/Zend/tests/ |
H A D | int_overflow_64bit.phpt | 9 PHP_INT_MAX, 10 PHP_INT_MAX + 1, 11 PHP_INT_MAX + 1000, 12 PHP_INT_MAX * 2 + 4, 13 -PHP_INT_MAX -1, 14 -PHP_INT_MAX -2, 15 -PHP_INT_MAX -1000,
|
H A D | bug45877.phpt | 7 $keys = array(PHP_INT_MAX, 8 (string) PHP_INT_MAX, 9 (string) (-PHP_INT_MAX - 1), 10 -PHP_INT_MAX - 1, 11 (string) (PHP_INT_MAX + 1));
|
H A D | defined_fn_no_ns_fallback.phpt | 8 var_dump(\defined('Foo\PHP_INT_MAX')); 10 $const = 'Foo\PHP_INT_MAX';
|
H A D | string_offset_int_min_max.phpt | 2 Accessing PHP_INT_MAX and PHP_INT_MIN as string offsets 7 var_dump($str[PHP_INT_MAX]);
|
/php-src/ext/gmp/tests/ |
H A D | gmp_php_int_max.phpt | 2 PHP_INT_MAX tests 12 var_dump(gmp_mul(PHP_INT_MAX, PHP_INT_MAX)); 13 var_dump(gmp_add(PHP_INT_MAX, PHP_INT_MAX)); 14 var_dump(gmp_mul(PHP_INT_MAX, PHP_INT_MIN));
|
H A D | gmp_pow_fpe.phpt | 10 gmp_pow($g, PHP_INT_MAX); 15 gmp_pow(256, PHP_INT_MAX); 21 gmp_pow(gmp_add(gmp_mul(gmp_init(PHP_INT_MAX), gmp_init(PHP_INT_MAX)), 3), 256); 26 gmp_pow(gmp_init(PHP_INT_MAX), 256);
|
/php-src/ext/standard/tests/strings/ |
H A D | strripos_offset.phpt | 7 var_dump(strripos("t", "t", PHP_INT_MAX+1)); 13 strripos(1024, 1024, -PHP_INT_MAX); 19 strripos(1024, "te", -PHP_INT_MAX); 25 strripos(1024, 1024, -PHP_INT_MAX-1); 31 strripos(1024, "te", -PHP_INT_MAX-1);
|
H A D | strrpos_offset.phpt | 7 var_dump(strrpos("t", "t", PHP_INT_MAX+1)); 13 strrpos(1024, 1024, -PHP_INT_MAX); 19 strrpos(1024, "te", -PHP_INT_MAX); 25 strrpos(1024, 1024, -PHP_INT_MAX-1); 31 strrpos(1024, "te", -PHP_INT_MAX-1);
|
H A D | dirname_multi_win.phpt | 18 var_dump(dirname("/foo/bar/baz", PHP_INT_MAX)); 19 var_dump(dirname("g:/foo/bar/baz", PHP_INT_MAX)); 20 var_dump(dirname("g:foo/bar/baz", PHP_INT_MAX));
|
/php-src/ext/standard/tests/math/ |
H A D | intdiv_64bit.phpt | 11 // (int)(PHP_INT_MAX / 3) gives a different result 12 var_dump(intdiv(PHP_INT_MAX, 3));
|
/php-src/Zend/tests/type_declarations/union_types/ |
H A D | incdec_prop.phpt | 14 $test->prop = PHP_INT_MAX; 18 $test->prop = PHP_INT_MAX; 31 $test->prop = PHP_INT_MAX; 36 $test->prop = PHP_INT_MAX; 56 $test->prop2 = PHP_INT_MAX; 63 $test->prop2 = PHP_INT_MAX; 84 $test->prop2 = PHP_INT_MAX; 92 $test->prop2 = PHP_INT_MAX;
|
/php-src/tests/lang/constants/ |
H A D | PHP_INT_32bit.phpt | 2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (32-bit) 10 var_dump(PHP_INT_MAX);
|
H A D | PHP_INT_64bit.phpt | 2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit) 10 var_dump(PHP_INT_MAX);
|
/php-src/Zend/tests/array_unpack/ |
H A D | already_occupied.phpt | 10 var_dump([PHP_INT_MAX-1 => 0, ...$arr]); 16 var_dump([PHP_INT_MAX-1 => 0, ...[1, 2, 3]]); 22 function test($x = [PHP_INT_MAX-1 => 0, ...ARR]) {}
|
/php-src/ext/standard/tests/general_functions/ |
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/random/tests/01_functions/ |
H A D | random_int.phpt | 12 var_dump(random_int(-1, PHP_INT_MAX) >= -1); 13 var_dump(is_int(random_int(PHP_INT_MIN, PHP_INT_MAX)));
|
/php-src/Zend/tests/in-de-crement/ |
H A D | increment_001.phpt | 11 PHP_INT_MAX, 12 (string)PHP_INT_MAX
|
H A D | decrement_001.phpt | 11 -PHP_INT_MAX-1, 12 (string)(-PHP_INT_MAX-1),
|
H A D | increment_001_64bit.phpt | 11 PHP_INT_MAX, 12 (string)PHP_INT_MAX
|
H A D | decrement_001_64bit.phpt | 11 -PHP_INT_MAX-1, 12 (string)(-PHP_INT_MAX-1),
|