Lines Matching refs:of
7 echo "*** Testing basic functionality of strpos() ***\n";
27 /* needles in an array to get the position of needle in $string */
62 echo "Position of '$needles[$i]' is => ";
83 echo "Position of 'Hello' with offset '$offset_values[$i]' is => ";
95 /* we get "Recoverable fatal error: saying Object of class needle could not be
96 converted to string" by default when an object is passed instead of string:
179 *** Testing basic functionality of strpos() ***
194 Position of 'Hello world' is => int(0)
195 Position of 'WORLD' is => bool(false)
196 Position of '%0' is => int(46)
197 Position of '%0' is => int(46)
198 Position of '%00' is => int(58)
199 Position of 'abcd' is => int(48)
200 Position of 'xyz' is => int(54)
201 Position of 'octal' is => int(61)
202 Position of '-3' is => int(19)
203 Position of '-3' is => int(19)
204 Position of '-3.344' is => int(19)
205 Position of '-3.344' is => int(19)
206 Position of 'NULL' is => int(31)
207 Position of '0' is => int(12)
208 Position of '0' is => int(12)
209 Position of '1' is => int(13)
210 Position of 'TRUE' is => int(36)
211 Position of '1' is => int(13)
212 Position of '1' is => int(13)
213 Position of '' is => int(0)
214 Position of 'FALSE' is => int(41)
215 Position of ' ' is => int(5)
216 Position of ' ' is => int(26)
217 Position of 'b' is => int(49)
218 Position of '\n' is => bool(false)
219 Position of '
221 Position of '12' is => int(13)
222 Position of '12twelve' is => bool(false)
223 Position of 'Hello world,012033 -3.3445 NULL TRUE FALSE%0 abcd\xxyz %00 octal
228 Position of 'Hello' with offset '1' is => int(74)
229 Position of 'Hello' with offset 'string' is =>
230 strpos(): Argument #3 ($offset) must be of type int, string given
231 Position of 'Hello' with offset '' is =>
232 strpos(): Argument #3 ($offset) must be of type int, string given
233 Position of 'Hello' with offset '0' is => int(0)
234 Position of 'Hello' with offset '1' is => int(74)
235 Position of 'Hello' with offset '' is => int(0)
236 Position of 'Hello' with offset 'string12' is =>
237 strpos(): Argument #3 ($offset) must be of type int, string given
238 Position of 'Hello' with offset '-10' is => bool(false)
239 Position of 'Hello' with offset '-15' is => int(74)
240 Position of 'Hello' with offset '-85' is => int(0)
248 Deprecated: strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in %s on …
251 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in %s o…
253 Deprecated: strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in %s on …
256 Deprecated: strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in %s on …