dongxiangxie8181 2017-12-19 12:43
浏览 116
已采纳

如何区分和分离使用PHP接受为字符串的任何两个或更多Emojis?

For example, I have

$string="\xF0\x9F\x91\x8E\xF0\x9F\x91\x8E\xF0\x9F\x91\x8E";

//three thumbs-up emoji

How to find out what Emojis were accepted and separate them?

  • 写回答

1条回答 默认 最新

  • douzi8548 2017-12-19 13:10
    关注

    I have used emoji-detector-php and it is very helpful and easy to use.

    From the DOCS:
    
    

    $input = "Hello

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?