2 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
3 * Description: Find position of last occurrence of a string within another
4 * Source code: ext/iconv/iconv.c
8 * Pass iconv_strrpos() an encoding that doesn't exist
11 echo "*** Testing iconv_strrpos() : error conditions ***\n";
13 $haystack = 'This is an English string. 0123456789.';
16 $encoding = 'unknown-encoding';
18 var_dump(iconv_strrpos($haystack, $needle , $encoding));