显示下拉菜单

iconv_strlen()

« iconv_set_encoding | iconv_strpos »
<?php
$int 
iconv_strlen (
    
// string $str
    
?  // [string $charset = ini_get("iconv.internal_encoding")]
);

// enter non ASCII characters in hex in $str if $charset is not UTF-8
?>
结果
$int = 11
示例
#1 iconv_strlen  ("hello world",
 
"UTF-8")
另请参阅
grapheme_strlen, mb_strlen, strlen