Home
last modified time | relevance | path

Searched refs:PHP_INT_MAX (Results 1 – 25 of 194) sorted by relevance

12345678

/PHP-8.4/ext/standard/tests/array/
H A Dmax_int_float_optimisation.phpt18 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 Dmin_int_float_optimisation.phpt17 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 Dbug65304.phpt5 var_dump(array_sum(array(PHP_INT_MAX, 1)));
6 var_dump(PHP_INT_MAX + 1);
H A Dbug61058.phpt2 Bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
7 array_fill(PHP_INT_MAX, 2, '*');
H A Darray_fill_variation6.phpt5 $a = array_fill(PHP_INT_MAX, 1, "foo");
8 array_key_exists(PHP_INT_MAX, $a),
/PHP-8.4/Zend/tests/
H A Dint_overflow_64bit.phpt9 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 Dbug45877.phpt7 $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 Ddefined_fn_no_ns_fallback.phpt8 var_dump(\defined('Foo\PHP_INT_MAX'));
10 $const = 'Foo\PHP_INT_MAX';
H A Dstring_offset_int_min_max.phpt2 Accessing PHP_INT_MAX and PHP_INT_MIN as string offsets
7 var_dump($str[PHP_INT_MAX]);
/PHP-8.4/ext/gmp/tests/
H A Dgmp_php_int_max.phpt2 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 Dgmp_pow_fpe.phpt10 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-8.4/ext/standard/tests/strings/
H A Dstrripos_offset.phpt7 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 Dstrrpos_offset.phpt7 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 Ddirname_multi_win.phpt18 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-8.4/ext/standard/tests/math/
H A Dintdiv_64bit.phpt11 // (int)(PHP_INT_MAX / 3) gives a different result
12 var_dump(intdiv(PHP_INT_MAX, 3));
/PHP-8.4/Zend/tests/type_declarations/union_types/
H A Dincdec_prop.phpt14 $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-8.4/tests/lang/constants/
H A DPHP_INT_32bit.phpt2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (32-bit)
10 var_dump(PHP_INT_MAX);
H A DPHP_INT_64bit.phpt2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit)
10 var_dump(PHP_INT_MAX);
/PHP-8.4/Zend/tests/array_unpack/
H A Dalready_occupied.phpt10 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-8.4/ext/standard/tests/general_functions/
H A Dbug76717.phpt7 $max = eval('return '.var_export(PHP_INT_MAX, true).';');
9 var_dump($max === PHP_INT_MAX);
/PHP-8.4/ext/random/tests/01_functions/
H A Drandom_int.phpt12 var_dump(random_int(-1, PHP_INT_MAX) >= -1);
13 var_dump(is_int(random_int(PHP_INT_MIN, PHP_INT_MAX)));
/PHP-8.4/Zend/tests/in-de-crement/
H A Ddecrement_001.phpt11 -PHP_INT_MAX-1,
12 (string)(-PHP_INT_MAX-1),
H A Dincrement_001.phpt11 PHP_INT_MAX,
12 (string)PHP_INT_MAX
H A Ddecrement_001_64bit.phpt11 -PHP_INT_MAX-1,
12 (string)(-PHP_INT_MAX-1),
H A Dincrement_001_64bit.phpt11 PHP_INT_MAX,
12 (string)PHP_INT_MAX

Completed in 60 milliseconds

12345678