Last active
February 3, 2018 03:09
-
-
Save davidsword/74ed32b5e6bf475ce847b5da88d5d89b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$table = json_decode(file_get_contents('emoji.json')); | |
//print_r($table); //take a peak | |
foreach ($table as $k => $emoji) | |
foreach ($emoji->short_names as $shortname) | |
echo "'{$shortname}' => '{$emoji->unified}', \n"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment