Skip to content

Instantly share code, notes, and snippets.

@Lewiscowles1986
Created December 16, 2015 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lewiscowles1986/4de9febc972b723988e3 to your computer and use it in GitHub Desktop.
Save Lewiscowles1986/4de9febc972b723988e3 to your computer and use it in GitHub Desktop.
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