如何区分和分隔使用 PHP 被接受为字符串的任意两个或多个表情符号?

How to distinguish and separate any two or more Emojis which were accepted as a string using PHP?

比如我有

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

//three thumbs-up emoji

如何找出哪些表情符号被接受并将它们分开?

我用过emoji-detector-php,非常好用。

From the DOCS:

$input = "Hello  World ‍‍‍";
$emoji = Emoji\detect_emoji($input);

print_r($emoji);