/PHP-5.5/ext/standard/tests/array/ |
H A D | range_errors.phpt | 2 Test range() function (errors) 44 Warning: range(): step exceeds the specified range in %s on line %d 47 Warning: range(): step exceeds the specified range in %s on line %d 52 Warning: range(): step exceeds the specified range in %s on line %d 55 Warning: range(): step exceeds the specified range in %s on line %d 60 Warning: range(): step exceeds the specified range in %s on line %d 65 Warning: range(): step exceeds the specified range in %s on line %d 78 Warning: range(): step exceeds the specified range in %s on line %d 81 Warning: range(): step exceeds the specified range in %s on line %d 85 Warning: range(): step exceeds the specified range in %s on line %d [all …]
|
H A D | array_slice_variation1.phpt | 6 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 D | range_variation1_64bit.phpt | 2 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 D | range_variation1.phpt | 2 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 D | bug41121.phpt | 2 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 D | range.phpt | 2 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 D | bug24220.phpt | 2 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 D | bug32021.phpt | 2 Bug #32021 (Crash caused by range('', 'z')) 5 $foo = range('', 'z');
|
H A D | bug54459.phpt | 7 foreach (range(90, 100, .1) as $i => $v){ 10 foreach (range("90", "100", .1) as $i => $v){
|
H A D | bug21182.phpt | 2 Bug #21182 (range modifies arguments) 7 $result = range($a, $b);
|
/PHP-5.5/main/streams/ |
H A D | mmap.c | 27 php_stream_mmap_range range; in _php_stream_mmap_range() local 29 range.offset = offset; in _php_stream_mmap_range() 30 range.length = length; in _php_stream_mmap_range() 31 range.mode = mode; in _php_stream_mmap_range() 32 range.mapped = NULL; in _php_stream_mmap_range() 40 … == php_stream_set_option(stream, PHP_STREAM_OPTION_MMAP_API, PHP_STREAM_MMAP_MAP_RANGE, &range)) { in _php_stream_mmap_range() 42 *mapped_len = range.length; in _php_stream_mmap_range() 44 return range.mapped; in _php_stream_mmap_range()
|
H A D | plain_wrapper.c | 669 if (range->length == 0 && range->offset > 0 && range->offset < data->sb.st_size) { in php_stdiop_set_option() 670 range->length = data->sb.st_size - range->offset; in php_stdiop_set_option() 672 if (range->length == 0 || range->length > data->sb.st_size) { in php_stdiop_set_option() 677 range->length = 0; in php_stdiop_set_option() 679 switch (range->mode) { in php_stdiop_set_option() 699 range->mapped = (char*)mmap(NULL, range->length, prot, flags, fd, range->offset); in php_stdiop_set_option() 701 range->mapped = NULL; in php_stdiop_set_option() 761 if (range->length == 0 && range->offset > 0 && range->offset < size) { in php_stdiop_set_option() 762 range->length = size - range->offset; in php_stdiop_set_option() 764 if (range->length == 0 || range->length > size) { in php_stdiop_set_option() [all …]
|
/PHP-5.5/ext/standard/tests/math/ |
H A D | mt_rand_basic.phpt | 89 PASSED: range min = 10 max = 100 90 PASSED: range min = 100 max = 1000 91 PASSED: range min = 10 max = 19 93 PASSED: range min = 16 max = 65536 94 PASSED: range min = 256 max = 448 97 PASSED range min = 1 max = 100 98 PASSED range min = 0 max = 100 99 PASSED range min = 0 max = 100 100 PASSED range min = 10 max = 100 101 PASSED range min = 0 max = 100 [all …]
|
H A D | rand_basic.phpt | 87 PASSED: range min = 0 max = %i 90 PASSED: range min = 10 max = 100 91 PASSED: range min = 100 max = 1000 92 PASSED: range min = 10 max = 19 95 PASSED: range min = 256 max = 448 98 PASSED range min = 1 max = 100 99 PASSED range min = 0 max = 100 100 PASSED range min = 0 max = 100 101 PASSED range min = 10 max = 100 102 PASSED range min = 0 max = 100 [all …]
|
/PHP-5.5/ext/date/tests/ |
H A D | mktime-3.phpt | 19 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 D | gmdate_variation12.phpt | 2 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 --
|
H A D | bug33957.phpt | 15 foreach (range(1992, 2019) as $year) { 22 foreach (range(1992, 2019) as $year) { 30 foreach (range(1993, 2020) as $year) {
|
/PHP-5.5/ext/standard/tests/url/ |
H A D | parse_url_error_002.phpt | 2 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-5.5/ext/imap/tests/ |
H A D | imap_fetch_overview_variation2.phpt | 124 Sequence out of range 139 Sequence out of range 145 Sequence out of range 151 Sequence out of range 157 Sequence out of range 160 Sequence out of range 163 Sequence out of range 178 Sequence out of range 193 Sequence out of range 196 Sequence out of range [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | array_014.phpt | 6 $it = new ArrayIterator(range(0,10)); 46 Seek position -1 is out of range 47 Seek position 12 is out of range
|
H A D | fixedarray_015.phpt | 44 Index invalid or out of range 45 Index invalid or out of range 46 Index invalid or out of range
|
H A D | array_016.phpt | 6 $it = new ArrayIterator(range(0,3)); 13 $it = new ArrayObject(range(0,3));
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | ltrim_error.phpt | 46 Warning: ltrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d 50 Warning: ltrim(): Invalid '..'-range, no character to the right of '..' in %s on line %d 54 Warning: ltrim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d 58 Warning: ltrim(): Invalid '..'-range in %s on line %d
|
H A D | rtrim_error.phpt | 46 Warning: rtrim(): Invalid '..'-range, no character to the left of '..' in %s on line %d 50 Warning: rtrim(): Invalid '..'-range, no character to the right of '..' in %s on line %d 54 Warning: rtrim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d 58 Warning: rtrim(): Invalid '..'-range in %s on line %d
|
H A D | trim_error.phpt | 46 Warning: trim(): Invalid '..'-range, no character to the left of '..' in %s on line %d 50 Warning: trim(): Invalid '..'-range, no character to the right of '..' in %s on line %d 54 Warning: trim(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d 58 Warning: trim(): Invalid '..'-range in %s on line %d
|