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
142 Warning: iconv_strpos() expects parameter 3 to be integer, float 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, string given in %s on line %d
191 Warning: iconv_strpos() expects parameter 3 to be integer, string given in %s on line %d
197 Warning: iconv_strpos() expects parameter 3 to be integer, object given in %s on line %d
208 Warning: iconv_strpos() expects parameter 3 to be integer, resource given in %s on line %d