php extract Emoji from a string

2019-02-19 05:03发布

问题:

I have a string contain emoji. I want extract emoji's from that string,i'm using below code but it doesn't what i want.

$string = "