您的位置: 首页 > IT文章 > php计算中英文混搭字符串长度 php计算中英文混搭字符串长度 分类: IT文章 • 2023-11-27 11:36:30 preg_match_all('/./us', $content, $match); count($match[0]);//中英文按相同字符数计算