Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$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
You can’t perform that action at this time.