Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Countries without postcodes (PHP) (conversion of https://gist.github.com/kennwilson/3902548 to PHP)
<?php
return [
[ "Angola", "AO" ],
[ "Antigua and Barbuda", "AG" ],
[ "Aruba", "AW" ],
[ "Bahamas", "BS" ],
[ "Belize", "BZ" ],
[ "Benin", "BJ" ],
[ "Botswana", "BW" ],
[ "Burkina Faso", "BF" ],
[ "Burundi", "BI" ],
[ "Cameroon", "CM" ],
[ "Central African Republic", "CF" ],
[ "Comoros", "KM" ],
[ "Congo", "CG" ],
[ "Congo, the Democratic Republic of the", "CD" ],
[ "Cook Islands", "CK" ],
[ "Cote d'Ivoire", "CI" ],
[ "Djibouti", "DJ" ],
[ "Dominica", "DM" ],
[ "Equatorial Guinea", "GQ" ],
[ "Eritrea", "ER" ],
[ "Fiji", "FJ" ],
[ "French Southern Territories", "TF" ],
[ "Gambia", "GM" ],
[ "Ghana", "GH" ],
[ "Grenada", "GD" ],
[ "Guinea", "GN" ],
[ "Guyana", "GY" ],
[ "Hong Kong", "HK" ],
[ "Ireland", "IE" ],
[ "Jamaica", "JM" ],
[ "Kenya", "KE" ],
[ "Kiribati", "KI" ],
[ "Macao", "MO" ],
[ "Malawi", "MW" ],
[ "Mali", "ML" ],
[ "Mauritania", "MR" ],
[ "Mauritius", "MU" ],
[ "Montserrat", "MS" ],
[ "Nauru", "NR" ],
[ "Netherlands Antilles", "AN" ],
[ "Niue", "NU" ],
[ "North Korea", "KP" ],
[ "Panama", "PA" ],
[ "Qatar", "QA" ],
[ "Rwanda", "RW" ],
[ "Saint Kitts and Nevis", "KN" ],
[ "Saint Lucia", "LC" ],
[ "Sao Tome and Principe", "ST" ],
[ "Saudi Arabia", "SA" ],
[ "Seychelles", "SC" ],
[ "Sierra Leone", "SL" ],
[ "Solomon Islands", "SB" ],
[ "Somalia", "SO" ],
[ "South Africa", "ZA" ],
[ "Suriname", "SR" ],
[ "Syria", "SY" ],
[ "Tanzania, United Republic of", "TZ" ],
[ "Timor-Leste", "TL" ],
[ "Tokelau", "TK" ],
[ "Tonga", "TO" ],
[ "Trinidad and Tobago", "TT" ],
[ "Tuvalu", "TV" ],
[ "Uganda", "UG" ],
[ "United Arab Emirates", "AE" ],
[ "Vanuatu", "VU" ],
[ "Yemen", "YE" ],
[ "Zimbabwe", "ZW" ]
];
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.