php计算中英文混搭字符串长度时间:2023-03-09 16:53:22 preg_match_all('/./us', $content, $match); count($match[0]);//中英文按相同字符数计算