php 内置的 str_word_count 函数不是很靠谱,更好的方式是安装 Intl 扩展。 function utf8_word_count($string, $mode = 0) { static $it = NULL; if (is_null($it)) { $it = I...