//PHP简单有效的计算中英文字符串长度或者mb_strlen($str, 'utf-8');
function _strlen($str)
{
preg_match_all("/./us", $str, $matches);
return count(current($matches));
}
//PHP简单有效的计算中英文字符串长度或者mb_strlen($str, 'utf-8');
function _strlen($str)
{
preg_match_all("/./us", $str, $matches);
return count(current($matches));
}