Home
last modified time | relevance | path

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

12345678910

/PHP-8.0/ext/standard/tests/array/
H A Drange_errors.phpt98 range(): Argument #3 ($step) must not exceed the specified range
99 range(): Argument #3 ($step) must not exceed the specified range
103 range(): Argument #3 ($step) must not exceed the specified range
104 range(): Argument #3 ($step) must not exceed the specified range
108 range(): Argument #3 ($step) must not exceed the specified range
112 range(): Argument #3 ($step) must not exceed the specified range
116 range(): Argument #3 ($step) must not exceed the specified range
120 range(): Argument #3 ($step) must not exceed the specified range
123 range(): Argument #3 ($step) must not exceed the specified range
125 range(): Argument #3 ($step) must not exceed the specified range
[all …]
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 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));
19 var_dump(array_slice(range(1, 3), 0, $a));
24 var_dump(array_slice(range(1, 3), 0, $a));
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 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"));
/PHP-8.0/main/streams/
H A Dmmap.c23 php_stream_mmap_range range; in _php_stream_mmap_range() local
25 range.offset = offset; in _php_stream_mmap_range()
26 range.length = length; in _php_stream_mmap_range()
27 range.mode = mode; in _php_stream_mmap_range()
28 range.mapped = NULL; in _php_stream_mmap_range()
30 … == php_stream_set_option(stream, PHP_STREAM_OPTION_MMAP_API, PHP_STREAM_MMAP_MAP_RANGE, &range)) { in _php_stream_mmap_range()
32 *mapped_len = range.length; in _php_stream_mmap_range()
34 return range.mapped; in _php_stream_mmap_range()
/PHP-8.0/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-8.0/ext/date/tests/
H A Dmktime-3.phpt19 echo "out of range\n";
30 Y: 69 - out of range
35 Y: 105 - out of range
36 Y: 1900 - out of range
37 Y: 1901 - out of range
45 Y: 69 - out of range
50 Y: 105 - out of range
51 Y: 1900 - out of range
52 Y: 1901 - out of range
H A Dgmdate_variation12_64bits.phpt2 Test gmdate() function : usage variation - Valid and invalid range of timestamp 64 bits.
15 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
19 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
22 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
26 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
34 -- Testing gmdate() function with minimum range of timestamp --
37 -- Testing gmdate() function with less than the range of timestamp --
40 -- Testing gmdate() function with maximum range of timestamp --
43 -- Testing gmdate() function with greater than the range of timestamp --
H A Dgmdate_variation12.phpt2 Test gmdate() function : usage variation - Valid and invalid range of timestamp 32 bits.
14 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
18 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
22 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
26 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
34 -- Testing gmdate() function with minimum range of timestamp --
37 -- Testing gmdate() function with less than the range of timestamp --
42 -- Testing gmdate() function with maximum range of timestamp --
45 -- Testing gmdate() function with greater than the range of timestamp --
H A Dbug-gh9763.phpt21 Testing +99:60: DateTimeZone::__construct(): Timezone offset is out of range (+99:60)
22 Testing +99:62: DateTimeZone::__construct(): Timezone offset is out of range (+99:62)
23 Testing -99:62: DateTimeZone::__construct(): Timezone offset is out of range (-99:62)
24 Testing -99:60: DateTimeZone::__construct(): Timezone offset is out of range (-99:60)
25 Testing +9960: DateTimeZone::__construct(): Timezone offset is out of range (+9960)
26 Testing -9960: DateTimeZone::__construct(): Timezone offset is out of range (-9960)
/PHP-8.0/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-8.0/ext/standard/tests/url/
H A Dparse_url_error_002.phpt2 Test parse_url() function: url component specifier out of range
5 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n";
8 echo "--> Below range:";
11 echo "\n\n--> Above range:\n";
21 *** Testing parse_url() : error conditions: url component specifier out of range ***
22 --> Below range:array(8) {
42 --> Above range:
/PHP-8.0/ext/standard/tests/strings/
H A Dtrim_error.phpt21 Warning: trim(): Invalid '..'-range, no character to the left of '..' in %s on line %d
25 Warning: trim(): Invalid '..'-range, no character to the right of '..' in %s on line %d
29 Warning: trim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d
33 Warning: trim(): Invalid '..'-range in %s on line %d
H A Dltrim_error.phpt21 Warning: ltrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d
25 Warning: ltrim(): Invalid '..'-range, no character to the right of '..' in %s on line %d
29 Warning: ltrim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d
33 Warning: ltrim(): Invalid '..'-range in %s on line %d
H A Drtrim_error.phpt21 Warning: rtrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d
25 Warning: rtrim(): Invalid '..'-range, no character to the right of '..' in %s on line %d
29 Warning: rtrim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d
33 Warning: rtrim(): Invalid '..'-range in %s on line %d
/PHP-8.0/ext/mbstring/tests/
H A Dmb_strpos_empty_needle.phpt20 echo "\n-- ASCII string with in range positive offset --\n";
23 echo "\n-- ASCII string with in range negative offset --\n";
43 echo "\n-- Multi-byte string with in range positive offset --\n";
46 echo "\n-- Multi-byte string with in range negative offset --\n";
68 -- ASCII string with in range positive offset --
71 -- ASCII string with in range negative offset --
83 -- Multi-byte string with in range positive offset --
86 -- Multi-byte string with in range negative offset --
H A Dmb_strrpos_empty_needle.phpt20 echo "\n-- ASCII string with in range positive offset --\n";
23 echo "\n-- ASCII string with in range negative offset --\n";
44 echo "\n-- Multi-byte string with in range positive offset --\n";
47 echo "\n-- Multi-byte string with in range negative offset --\n";
69 -- ASCII string with in range positive offset --
72 -- ASCII string with in range negative offset --
84 -- Multi-byte string with in range positive offset --
87 -- Multi-byte string with in range negative offset --
H A Dmb_stripos_empty_needle.phpt20 echo "\n-- ASCII string with in range positive offset --\n";
23 echo "\n-- ASCII string with in range negative offset --\n";
44 echo "\n-- Multi-byte string with in range positive offset --\n";
47 echo "\n-- Multi-byte string with in range negative offset --\n";
69 -- ASCII string with in range positive offset --
72 -- ASCII string with in range negative offset --
84 -- Multi-byte string with in range positive offset --
87 -- Multi-byte string with in range negative offset --

Completed in 30 milliseconds

12345678910