You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ext/standard/tests/array/range/bug32021.phpt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ALIVE
9
9
--EXPECTF--
10
10
Warning: range(): Argument #1 ($start) must not be empty, casted to 0 in %s on line %d
11
11
12
-
Warning: range(): Argument #1 ($start) must be a string if argument #2 ($end) is a string, argument #2 ($end) converted 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 single byte string, argument #2 ($end) converted to 0 in %s on line %d
Copy file name to clipboardExpand all lines: ext/standard/tests/array/range/range_inputs_null_variations.phpt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -97,15 +97,15 @@ null with string boundary
97
97
98
98
Deprecated: range(): Passing null to parameter #1 ($start) of type string|int|float is deprecated in %s on line %d
99
99
100
-
Warning: range(): Argument #1 ($start) must be a string if argument #2 ($end) is a string, argument #2 ($end) converted to 0 in %s on line %d
100
+
Warning: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single byte string, argument #2 ($end) converted to 0 in %s on line %d
101
101
array(1) {
102
102
[0]=>
103
103
int(0)
104
104
}
105
105
106
106
Deprecated: range(): Passing null to parameter #2 ($end) of type string|int|float is deprecated in %s on line %d
107
107
108
-
Warning: range(): Argument #2 ($end) must be a string if argument #1 ($start) is a string, argument #1 ($start) converted to 0 in %s on line %d
108
+
Warning: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single byte string, argument #1 ($start) converted to 0 in %s on line %d
Copy file name to clipboardExpand all lines: ext/standard/tests/array/range/range_inputs_string_invalid.phpt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,22 +37,22 @@ Range cannot operate on an empty string
37
37
38
38
Warning: range(): Argument #2 ($end) must not be empty, casted to 0 in %s on line %d
39
39
40
-
Warning: range(): Argument #2 ($end) must be a string if argument #1 ($start) is a string, argument #1 ($start) converted to 0 in %s on line %d
40
+
Warning: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single byte string, argument #1 ($start) converted to 0 in %s on line %d
41
41
array(1) {
42
42
[0]=>
43
43
int(0)
44
44
}
45
45
46
46
Warning: range(): Argument #1 ($start) must not be empty, casted to 0 in %s on line %d
47
47
48
-
Warning: range(): Argument #1 ($start) must be a string if argument #2 ($end) is a string, argument #2 ($end) converted to 0 in %s on line %d
48
+
Warning: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single byte string, argument #2 ($end) converted to 0 in %s on line %d
49
49
array(1) {
50
50
[0]=>
51
51
int(0)
52
52
}
53
53
Mixing numeric float string and character
54
54
55
-
Warning: range(): Argument #1 ($start) must be a string if argument #2 ($end) is a string, argument #2 ($end) converted to 0 in %s on line %d
55
+
Warning: range(): Argument #1 ($start) must be a single byte string if argument #2 ($end) is a single byte string, argument #2 ($end) converted to 0 in %s on line %d
56
56
array(4) {
57
57
[0]=>
58
58
float(3.5)
@@ -64,7 +64,7 @@ array(4) {
64
64
float(0.5)
65
65
}
66
66
67
-
Warning: range(): Argument #2 ($end) must be a string if argument #1 ($start) is a string, argument #1 ($start) converted to 0 in %s on line %d
67
+
Warning: range(): Argument #2 ($end) must be a single byte string if argument #1 ($start) is a single byte string, argument #1 ($start) converted to 0 in %s on line %d
0 commit comments