2 /* Prototype : int iconv_strlen(string str [, string charset])
3 * Description: Get character numbers of a string
4 * Source code: ext/iconv/iconv.c
8 * Test iconv_strlen when passed an unknown encoding
11 echo "*** Testing iconv_strlen() : error ***\n";
15 $encoding = 'unknown-encoding';
17 var_dump(iconv_strlen($string, $encoding));