Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 232) sorted by relevance

12345678910

/PHP-7.4/ext/standard/tests/array/
H A Drange_errors.phpt2 Test range() function (errors)
46 Warning: range(): step exceeds the specified range in %s on line %d
49 Warning: range(): step exceeds the specified range in %s on line %d
54 Warning: range(): step exceeds the specified range in %s on line %d
57 Warning: range(): step exceeds the specified range in %s on line %d
62 Warning: range(): step exceeds the specified range in %s on line %d
67 Warning: range(): step exceeds the specified range in %s on line %d
80 Warning: range(): step exceeds the specified range in %s on line %d
86 Warning: range(): step exceeds the specified range in %s on line %d
96 Warning: range(): step exceeds the specified range in %s on line %d
[all …]
H A Darray_slice_variation1.phpt6 var_dump(array_slice(range(1, 3), 0, NULL, 1));
7 var_dump(array_slice(range(1, 3), 0, 0, 1));
8 var_dump(array_slice(range(1, 3), 0, NULL));
9 var_dump(array_slice(range(1, 3), 0, 0));
11 var_dump(array_slice(range(1, 3), -1, 0));
12 var_dump(array_slice(range(1, 3), -1, 0, 1));
13 var_dump(array_slice(range(1, 3), -1, NULL));
14 var_dump(array_slice(range(1, 3), -1, NULL, 1));
18 var_dump(array_slice(range(1, 3), 0, $a));
19 var_dump(array_slice(range(1, 3), 0, $a));
H A Drange_variation1.phpt2 Test range() function (variation-2)
12 echo "\n*** Testing max/outof range values ***\n";
13 /*var_dump( range("a", "z", 255) );
14 var_dump( range("z", "a", 255) ); */
15 var_dump( range(2147483645, 2147483646) );
16 var_dump( range(2147483646, 2147483648) );
17 var_dump( range(-2147483647, -2147483646) );
18 var_dump( range(-2147483648, -2147483647) );
19 var_dump( range(-2147483649, -2147483647) );
24 *** Testing max/outof range values ***
H A Drange_variation1_64bit.phpt2 Test range() function (variation-2)
12 echo "\n*** Testing max/outof range values ***\n";
13 /*var_dump( range("a", "z", 255) );
14 var_dump( range("z", "a", 255) ); */
15 var_dump( range(2147483645, 2147483646) );
16 var_dump( range(2147483646, 2147483648) );
17 var_dump( range(-2147483647, -2147483646) );
18 var_dump( range(-2147483648, -2147483647) );
19 var_dump( range(-2147483649, -2147483647) );
24 *** Testing max/outof range values ***
H A Dbug41121.phpt2 Bug #41121 (range() overflow handling for large numbers on 32bit machines)
11 var_dump(range(2147483400, 2147483600, 100));
12 var_dump( range(2147483646, 2147483648, 1 ) );
13 var_dump( range(2147483646, 2147483657, 1 ) );
14 var_dump( range(2147483630, 2147483646, 5 ) );
17 var_dump( range(-2147483645, -2147483648, 1 ) );
18 var_dump( range(-2147483645, -2147483649, 1 ) );
19 var_dump( range(-2147483630, -2147483646, 5 ) );
22 var_dump(range(2147483647, 2147483645, 1 ));
23 var_dump(range(2147483648, 2147483645, 1 ));
H A Dbug61967.phpt6 range(1, 5),
7 range(1, 5),
8 range(1, 5),
9 range(1, 5),
10 range(1, 5),
H A Drange.phpt2 Test range() function
12 var_dump( range(1, 10) );
14 var_dump( range(10, 1) );
18 var_dump( range("1", "10") );
20 var_dump( range("10", "1") );
24 var_dump( range("a", "z") );
26 var_dump( range("z", "a") );
29 var_dump( range(5, 5) );
30 var_dump( range("q", "q") );
33 var_dump( range(5.1, 10.1) );
[all …]
H A Drange_bug71197.phpt2 Bug #71197 (range function produces another 2 segfaults with long integers)
5 range(PHP_INT_MIN, PHP_INT_MIN + 513, .01);
6 range(PHP_INT_MIN + 513, PHP_INT_MIN, .01);
H A Drange_bug71132.phpt2 Bug #71132 (range function produces 2 segfaults with long integers)
5 var_dump(count(range(PHP_INT_MIN + 513, PHP_INT_MIN)));
6 var_dump(count(range(PHP_INT_MIN, PHP_INT_MIN + 513)));
H A Drange_bug70239_0.phpt5 range(0, pow(2.0, 100000000));
9 Warning: range(): Invalid range supplied: start=0 end=inf in %srange_bug70239_0.php on line %d
H A Drange_bug70239_1.phpt5 range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
9 Warning: range(): Invalid range supplied: start=inf end=inf in %srange_bug70239_1.php on line %d
H A Dbug24220.phpt2 Bug #24220 (range() numeric string handling)
5 var_dump(range("2003", "2004"));
6 var_dump(range("a", "z"));
7 var_dump(range("1", "10"));
H A Drange_bug70239_2.phpt5 var_dump(range(0, PHP_INT_MAX));
9 Warning: range(): The supplied range exceeds the maximum array size: start=0 end=%d in %srange_bug7…
H A Drange_bug70239_3.phpt5 var_dump(range(PHP_INT_MIN, 0));
9 Warning: range(): The supplied range exceeds the maximum array size: start=-%d end=0 in %srange_bug…
H A Dusort_variation11.phpt10 $range = array(2, 4, 8, 16, 32, 64, 128);
12 foreach ($range as $r) {
13 $backup = $array = range(0, $r);
H A Dbug32021.phpt2 Bug #32021 (Crash caused by range('', 'z'))
5 $foo = range('', 'z');
/PHP-7.4/main/streams/
H A Dmmap.c25 php_stream_mmap_range range; in _php_stream_mmap_range() local
27 range.offset = offset; in _php_stream_mmap_range()
28 range.length = length; in _php_stream_mmap_range()
29 range.mode = mode; in _php_stream_mmap_range()
30 range.mapped = NULL; in _php_stream_mmap_range()
32 … == php_stream_set_option(stream, PHP_STREAM_OPTION_MMAP_API, PHP_STREAM_MMAP_MAP_RANGE, &range)) { in _php_stream_mmap_range()
34 *mapped_len = range.length; in _php_stream_mmap_range()
36 return range.mapped; in _php_stream_mmap_range()
/PHP-7.4/ext/standard/tests/math/
H A Dmt_rand_basic.phpt84 PASSED: range min = 0 max = 2147483647
87 PASSED: range min = 10 max = 100
88 PASSED: range min = 100 max = 1000
89 PASSED: range min = 10 max = 19
91 PASSED: range min = 16 max = 65536
92 PASSED: range min = 256 max = 448
95 PASSED range min = 1 max = 100
96 PASSED range min = 0 max = 100
97 PASSED range min = 0 max = 100
98 PASSED range min = 10 max = 100
[all …]
H A Drand_basic.phpt84 PASSED: range min = 0 max = %i
87 PASSED: range min = 10 max = 100
88 PASSED: range min = 100 max = 1000
89 PASSED: range min = 10 max = 19
91 PASSED: range min = 16 max = 65536
92 PASSED: range min = 256 max = 448
95 PASSED range min = 1 max = 100
96 PASSED range min = 0 max = 100
97 PASSED range min = 0 max = 100
98 PASSED range min = 10 max = 100
[all …]
/PHP-7.4/ext/date/tests/
H A Dmktime-3.phpt19 echo "out of range\n";
31 Y: 69 - out of range
36 Y: 105 - out of range
37 Y: 1900 - out of range
38 Y: 1901 - out of range
46 Y: 69 - out of range
51 Y: 105 - out of range
52 Y: 1900 - out of range
53 Y: 1901 - out of range
H A Dgmdate_variation12.phpt2 Test gmdate() function : usage variation - Valid and invalid range of timestamp.
17 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
21 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
24 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
28 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
37 -- Testing gmdate\(\) function with minimum range of timestamp --
40 -- Testing gmdate\(\) function with less than the range of timestamp --
43 -- Testing gmdate\(\) function with maximum range of timestamp --
46 -- Testing gmdate\(\) function with greater than the range of timestamp --
/PHP-7.4/ext/gd/tests/
H A Dimagecolorallocate_variation6.phpt51 Warning: imagecolorallocate(): Red component is out of range in %s on line %d
54 Warning: imagecolorallocate(): Red component is out of range in %s on line %d
57 Warning: imagecolorallocate(): Green component is out of range in %s on line %d
60 Warning: imagecolorallocate(): Green component is out of range in %s on line %d
63 Warning: imagecolorallocate(): Blue component is out of range in %s on line %d
66 Warning: imagecolorallocate(): Blue component is out of range in %s on line %d
71 Warning: imagecolorallocate(): Red component is out of range in %s on line %d
74 Warning: imagecolorallocate(): Red component is out of range in %s on line %d
83 Warning: imagecolorallocate(): Blue component is out of range in %s on line %d
91 Warning: imagecolorallocate(): Red component is out of range in %s on line %d
[all …]
/PHP-7.4/Zend/tests/generators/
H A Dgenerator_with_arg_unpacking.phpt5 (function() { yield; })(...range(1, 16384));
6 call_user_func_array(function() { yield; }, range(1, 16384));
7 $g = (function() { yield; })(...range(1, 16384));
8 $g = call_user_func_array(function() { yield; }, range(1, 16384));
/PHP-7.4/ext/standard/tests/url/
H A Dparse_url_error_002.phpt2 Test parse_url() function: url component specifier out of range
11 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n";
14 echo "--> Below range:";
17 echo "\n\n--> Above range:";
23 *** Testing parse_url() : error conditions: url component specifier out of range ***
24 --> Below range:array(8) {
44 --> Above range:
/PHP-7.4/ext/filter/tests/
H A Dfilter_ipv4_rfc6890.phpt2 Bug #71745 FILTER_FLAG_NO_RES_RANGE does not cover whole 127.0.0.0/8 range
22 foreach ($privateRanges as $key => $range) {
23 list($min, $max) = $range;
76 foreach ($reservedRanges as $key => $range) {
77 list($min, $max) = $range;

Completed in 47 milliseconds

12345678910