Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
<?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}"; |