The using emoji_contains_emoji I noticed a number of maybe false positives, it's up for debate as you could use many of these symbols as emoji. Since I was working with a larger source of user generated content I opted to retrieve valid sources of emoji and Unicode characters. The following is the test scripts.
https://github.com/charlesverge/emoji-php-comparsion
Two examples are
Detected as emoji ⤂
Not detected 3️⃣ as emoji
Not sure if any thing should be changed other than adding a few more emoji into the data set as the false positives for the most part look fine as emoji.
The using emoji_contains_emoji I noticed a number of maybe false positives, it's up for debate as you could use many of these symbols as emoji. Since I was working with a larger source of user generated content I opted to retrieve valid sources of emoji and Unicode characters. The following is the test scripts.
https://github.com/charlesverge/emoji-php-comparsion
Two examples are
Detected as emoji ⤂
Not detected 3️⃣ as emoji
Not sure if any thing should be changed other than adding a few more emoji into the data set as the false positives for the most part look fine as emoji.