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";
97 // loop through each element of $inputs to check the behavior of iconv_strpos()
102 var_dump( iconv_strpos($haystack, $needle, $input, $encoding));
110 *** Testing iconv_strpos() : usage variations ***
126 Warning: iconv_strpos(): Offset not contained in string. in %s on line %d
137 Warning: iconv_strpos(): Offset not contained in string. in %s on line %d
169 Warning: iconv_strpos() expects parameter 3 to be int, string given in %s on line %d
174 Warning: iconv_strpos() expects parameter 3 to be int, string given in %s on line %d
179 Warning: iconv_strpos() expects parameter 3 to be int, string given in %s on line %d
184 Warning: iconv_strpos() expects parameter 3 to be int, string given in %s on line %d
189 Warning: iconv_strpos() expects parameter 3 to be int, string given in %s on line %d
195 Warning: iconv_strpos() expects parameter 3 to be int, object given in %s on line %d
206 Warning: iconv_strpos() expects parameter 3 to be int, resource given in %s on line %d