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/strings/strripos_offset.phpt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,12 +33,16 @@ bool(false)
33
33
Warning: strripos() expects parameter 1 to be string, array given in %s on line %d
34
34
bool(false)
35
35
36
+
Deprecated: strripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
37
+
36
38
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
37
39
bool(false)
38
40
39
41
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
40
42
bool(false)
41
43
44
+
Deprecated: strripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
45
+
42
46
Warning: strripos(): Offset is greater than the length of haystack string in %s on line %d
Copy file name to clipboardExpand all lines: ext/standard/tests/strings/strrpos_offset.phpt
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,16 @@ bool(false)
29
29
Warning: strrpos() expects parameter 3 to be int, float given in %s on line %d
30
30
bool(false)
31
31
32
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
33
+
32
34
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
33
35
bool(false)
34
36
35
37
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
36
38
bool(false)
37
39
40
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
41
+
38
42
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
Copy file name to clipboardExpand all lines: ext/standard/tests/strings/strrpos_variation15.phpt
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,32 +91,48 @@ echo "*** Done ***";
91
91
--EXPECTF--
92
92
*** Testing strrpos() function: with unexpected values for haystack, needle & offset ***
93
93
-- Iteration 1 --
94
+
95
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
94
96
bool(false)
95
97
-- Iteration 2 --
98
+
99
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
96
100
bool(false)
97
101
-- Iteration 3 --
98
102
103
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
104
+
99
105
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
100
106
bool(false)
101
107
-- Iteration 4 --
102
108
109
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
110
+
103
111
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
104
112
bool(false)
105
113
-- Iteration 5 --
106
114
115
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
116
+
107
117
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
108
118
bool(false)
109
119
-- Iteration 6 --
110
120
121
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
122
+
111
123
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
112
124
bool(false)
113
125
-- Iteration 7 --
114
126
115
127
Warning: strrpos() expects parameter 3 to be int, float given in %s on line %d
116
128
bool(false)
117
129
-- Iteration 8 --
130
+
131
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
118
132
bool(false)
119
133
-- Iteration 9 --
134
+
135
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
120
136
bool(false)
121
137
-- Iteration 10 --
122
138
@@ -139,12 +155,20 @@ bool(false)
139
155
Warning: strrpos() expects parameter 1 to be string, array given in %s on line %d
140
156
bool(false)
141
157
-- Iteration 15 --
158
+
159
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
142
160
bool(false)
143
161
-- Iteration 16 --
162
+
163
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
144
164
bool(false)
145
165
-- Iteration 17 --
166
+
167
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
146
168
bool(false)
147
169
-- Iteration 18 --
170
+
171
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
148
172
bool(false)
149
173
-- Iteration 19 --
150
174
@@ -159,15 +183,23 @@ bool(false)
159
183
Warning: strrpos() expects parameter 3 to be int, string given in %s on line %d
160
184
bool(false)
161
185
-- Iteration 22 --
186
+
187
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
162
188
bool(false)
163
189
-- Iteration 23 --
190
+
191
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
164
192
bool(false)
165
193
-- Iteration 24 --
166
194
167
195
Warning: strrpos() expects parameter 1 to be string, resource given in %s on line %d
168
196
bool(false)
169
197
-- Iteration 25 --
198
+
199
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
170
200
bool(false)
171
201
-- Iteration 26 --
202
+
203
+
Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d
0 commit comments