Lines Matching refs:iconv_strpos
2 Test iconv_strpos() function : usage variations - pass different data types as $offset arg
6 function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in this build");
11 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
17 * Pass iconv_strpos different data types as $offset arg to test behaviour
20 echo "*** Testing iconv_strpos() : usage variations ***\n";
95 // loop through each element of $inputs to check the behavior of iconv_strpos()
99 var_dump( iconv_strpos($haystack, $needle, $input, $encoding));
108 *** Testing iconv_strpos() : usage variations ***
121 Warning: iconv_strpos(): Offset not contained in string. in %s on line %d
129 Warning: iconv_strpos(): Offset not contained in string. in %s on line %d
161 Warning: iconv_strpos() expects parameter 3 to be integer, string given in %s on line %d
166 Warning: iconv_strpos() expects parameter 3 to be integer, string given in %s on line %d
171 Warning: iconv_strpos() expects parameter 3 to be integer, string given in %s on line %d
176 Warning: iconv_strpos() expects parameter 3 to be integer, string given in %s on line %d
181 Warning: iconv_strpos() expects parameter 3 to be integer, string given in %s on line %d
186 Warning: iconv_strpos() expects parameter 3 to be integer, object given in %s on line %d
197 Warning: iconv_strpos() expects parameter 3 to be integer, resource given in %s on line %d