I have text in a php variable $sentence. I want to display the actual emoji codes found in $sentence on my web page. Not the emoji graphical icons but the actual emoji codes themselves which are embedded in the sentence.
I have been trying all day to do this by reverse engineering code that is usually used to "remove emojis". No success.
Looking to display the actual codes to emojis embedded in text. Example ...
[twitter.com/ProfitTradeRoom/status/880439582063566848][1]
As you can see the fire emoji is in this tweet. The code for fire is 1F525. I want to see 1F525 on my screen when i echo out the php variable. Basically "1F525 HOT 1F525 stocks today" on my screen instead of the graphical emojis.
String taken straight from my MySQL database (copied and pasted) ...
HOTstocks today