function filterEmoji($str=''){
$str = json_encode($str); $str = json_decode(preg_replace("#(\\\ud[0-9a-f]{3})#i", "", $str)); return $str;
}
php过滤字符串中的emoji表情
最新推荐文章于 2024-09-12 11:01:37 发布
function filterEmoji($str=''){
$str = json_encode($str); $str = json_decode(preg_replace("#(\\\ud[0-9a-f]{3})#i", "", $str)); return $str;
}
837

被折叠的 条评论
为什么被折叠?