Home
last modified time | relevance | path

Searched refs:range (Results 26 – 50 of 315) sorted by relevance

12345678910>>...13

/php-src/ext/standard/tests/array/range/
H A Drange_inputs_string_digits.phpt2 Test range() function with string digits
6 var_dump( range("1", "9") );
7 var_dump( range("9", "1") );
10 var_dump( range("9", "A") );
11 var_dump( range("A", "9") );
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 Dbug32021.phpt2 Bug #32021 (Crash caused by range('', 'z'))
5 $foo = range('', 'z');
10 Warning: range(): Argument #1 ($start) must not be empty, casted to 0 in %s on line %d
12 Warning: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a sing…
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_inputs_string_variations.phpt2 Test range() function with unexpected string input variations or unusual step.
9 var_dump( range("a", "h", 2.0) );
11 // What range does is increment the ASCII character code point
12 echo "A to z range()\n";
13 var_dump( range("A", "z") );
29 A to z range()
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_inputs_int_with_float_step.phpt2 Test range() function with integer inputs and float step
7 var_dump( range(1, 5, 2.0) );
H A Dgh13094.phpt2 GH-13094 (range(9.9, '0') causes segmentation fault)
5 var_dump(range(9.9, '0'));
H A Dbug54459.phpt7 foreach (range(90, 100, .1) as $i => $v){
10 foreach (range("90", "100", .1) as $i => $v){
/php-src/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-src/ext/mbstring/tests/
H A Dmb_stripos_empty_needle.phpt17 echo "\n-- ASCII string with in range positive offset --\n";
20 echo "\n-- ASCII string with in range negative offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
66 -- ASCII string with in range positive offset --
69 -- ASCII string with in range negative offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
H A Dmb_strpos_empty_needle.phpt17 echo "\n-- ASCII string with in range positive offset --\n";
20 echo "\n-- ASCII string with in range negative offset --\n";
40 echo "\n-- Multi-byte string with in range positive offset --\n";
43 echo "\n-- Multi-byte string with in range negative offset --\n";
65 -- ASCII string with in range positive offset --
68 -- ASCII string with in range negative offset --
80 -- Multi-byte string with in range positive offset --
83 -- Multi-byte string with in range negative offset --
H A Dmb_strripos_empty_needle.phpt17 echo "\n-- ASCII string with in range positive offset --\n";
20 echo "\n-- ASCII string with in range negative offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
66 -- ASCII string with in range positive offset --
69 -- ASCII string with in range negative offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
H A Dmb_strrpos_empty_needle.phpt17 echo "\n-- ASCII string with in range positive offset --\n";
20 echo "\n-- ASCII string with in range negative offset --\n";
41 echo "\n-- Multi-byte string with in range positive offset --\n";
44 echo "\n-- Multi-byte string with in range negative offset --\n";
66 -- ASCII string with in range positive offset --
69 -- ASCII string with in range negative offset --
81 -- Multi-byte string with in range positive offset --
84 -- Multi-byte string with in range negative offset --
H A Dmb_ereg_search_setpos.phpt40 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
51 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
55 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
71 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php22 $range = explode("\t", $line); variable
23 $start = hexdec($range[0]);
24 $end = hexdec($range[1]);
/php-src/Zend/tests/zend_ini/
H A Dzend_ini_parse_uquantity_overflow.phpt77 Warning: Invalid quantity "%d": value is out of range, using overflow result for backwards compatib…
83 Warning: Invalid quantity "-%d": value is out of range, using overflow result for backwards compati…
89 Warning: Invalid quantity "-%d": value is out of range, using overflow result for backwards compati…
95 Warning: Invalid quantity "-2": value is out of range, using overflow result for backwards compatib…
101 Warning: Invalid quantity "-1K": value is out of range, using overflow result for backwards compati…
107 Warning: Invalid quantity "-1 K": value is out of range, using overflow result for backwards compat…
113 Warning: Invalid quantity "%dK": value is out of range, using overflow result for backwards compati…
/php-src/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;
/php-src/ext/mbstring/ucgendat/
H A Ducgendat.php183 foreach ($ranges as $range) {
185 $lastRange = $range;
190 $lastRange = $range;
195 $range->start, $range->end
380 if (count($range) == 2) {
381 $data->addPropRange(intval($range[0], 16), intval($range[1], 16), $property);
483 foreach ($ranges as $range) {
484 $values[] = $range->start;
485 $values[] = $range->end;
732 foreach ($wideRanges as $range) {
[all …]
/php-src/ext/standard/tests/array/
H A Dusort_stability.phpt6 $array = range(0, 10000);
11 var_dump($array === range(0, 10000));
/php-src/ext/spl/tests/
H A Darray_014.phpt6 $it = new ArrayIterator(range(0,10));
44 Seek position -1 is out of range
45 Seek position 12 is out of range
/php-src/ext/opcache/tests/opt/
H A Dgh8074.phpt2 GH-8074 (Wrong type inference of range() result)
6 $array = range(1, "2");
/php-src/ext/standard/tests/password/
H A Dpassword_hash_error_argon2.phpt48 Memory cost is outside of allowed memory range
49 Time cost is outside of allowed time range
51 Memory cost is outside of allowed memory range
52 Time cost is outside of allowed time range

Completed in 29 milliseconds

12345678910>>...13