mb_strlen
mb_strlen
Get string length
int **mb_strlen** string $string $encoding
Gets the length of a .
string
string
The being checked for length.
string
encoding
Returns the number of characters in
having character encoding
. A multi-byte character is
counted as 1.
string``string``encoding
If the encoding is unknown, an error of level
is generated.
E_WARNING
mb_internal_encoding``grapheme_strlen``iconv_strlen``strlen