function filterEmoji($str=''){
$str = json_encode($str);
$str = json_decode(preg_replace("#(\\\ud[0-9a-f]{3})#i", "", $str));
return $str;
}
php过滤字符串中的emoji表情
猜你喜欢
转载自blog.csdn.net/msllws/article/details/104743632
今日推荐
周排行