Mostrar lista de opciones

mb_strlen()

« mb_stristr | mb_strpos »
<?php
mb_internal_encoding
("UTF-8");

$mixed mb_strlen (
    
// string $str
    
?  // [string $encoding = mb_internal_encoding()]
);

// enter non ASCII characters in hex if $encoding is not UTF-8
// the result may not display properly if $encoding is not UTF-8
?>
Resultado
$mixed = 7
Ejemplos
#1 mb_strlen  ("español",
 
"UTF-8")
Ver también
grapheme_strlen, iconv_strlen, mb_convert_case, mb_internal_encoding, strlen