This file contains 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
<?php | |
// ISO country code source: https://en.wikipedia.org/wiki/ISO_3166-1 | |
// Emoji unicode codes: http://unicode.org/emoji/charts/full-emoji-list.html#country-flag | |
// An array to hold all the countries | |
$emoji_flags = array(); | |
// Now, all the country flags as emojis | |
$emoji_flags["AD"] = "\u{1F1E6}\u{1F1E9}"; | |
$emoji_flags["AE"] = "\u{1F1E6}\u{1F1EA}"; |