当导出数据存在字符串且字符串中存在emoji表情时,会导致后续的数据导出不完整
function filterEmoji($str) {
$str = preg_replace_callback(
‘/./u’,
function (array KaTeX parse error: Expected '}', got 'EOF' at end of input: … return strlen(match[0]) >= 4 ? ‘’ : $match[0];
},
$str);
return $str;
}