PHP之UTF8切割字符串

游戏人间6个月前PHP1860
PHP之UTF8切割字符串
function mbstrlen($str){$len = strlen($str);if ($len <= 0){return 0;}$count  = 0;for ($i = 0...