Created
July 28, 2021 09:45
-
-
Save Erenor/2b2ca1fac9fe1743525e5dbe95ed8100 to your computer and use it in GitHub Desktop.
A simple array. indexed by iso-alpha-2, to convert country codes
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
$countries = array ( | |
'AF' => | |
array ( | |
'alpha2' => 'AF', | |
'alpha3' => 'AFG', | |
'full' => 'Afghanistan', | |
), | |
'AL' => | |
array ( | |
'alpha2' => 'AL', | |
'alpha3' => 'ALB', | |
'full' => 'Albania', | |
), | |
'DZ' => | |
array ( | |
'alpha2' => 'DZ', | |
'alpha3' => 'DZA', | |
'full' => 'Algeria', | |
), | |
'AS' => | |
array ( | |
'alpha2' => 'AS', | |
'alpha3' => 'ASM', | |
'full' => 'American Samoa', | |
), | |
'AD' => | |
array ( | |
'alpha2' => 'AD', | |
'alpha3' => 'AND', | |
'full' => 'Andorra', | |
), | |
'AO' => | |
array ( | |
'alpha2' => 'AO', | |
'alpha3' => 'AGO', | |
'full' => 'Angola', | |
), | |
'AI' => | |
array ( | |
'alpha2' => 'AI', | |
'alpha3' => 'AIA', | |
'full' => 'Anguilla', | |
), | |
'AQ' => | |
array ( | |
'alpha2' => 'AQ', | |
'alpha3' => 'ATA', | |
'full' => 'Antarctica', | |
), | |
'AG' => | |
array ( | |
'alpha2' => 'AG', | |
'alpha3' => 'ATG', | |
'full' => 'Antigua and Barbuda', | |
), | |
'AR' => | |
array ( | |
'alpha2' => 'AR', | |
'alpha3' => 'ARG', | |
'full' => 'Argentina', | |
), | |
'AM' => | |
array ( | |
'alpha2' => 'AM', | |
'alpha3' => 'ARM', | |
'full' => 'Armenia', | |
), | |
'AW' => | |
array ( | |
'alpha2' => 'AW', | |
'alpha3' => 'ABW', | |
'full' => 'Aruba', | |
), | |
'AU' => | |
array ( | |
'alpha2' => 'AU', | |
'alpha3' => 'AUS', | |
'full' => 'Australia', | |
), | |
'AT' => | |
array ( | |
'alpha2' => 'AT', | |
'alpha3' => 'AUT', | |
'full' => 'Austria', | |
), | |
'AZ' => | |
array ( | |
'alpha2' => 'AZ', | |
'alpha3' => 'AZE', | |
'full' => 'Azerbaijan', | |
), | |
'BS' => | |
array ( | |
'alpha2' => 'BS', | |
'alpha3' => 'BHS', | |
'full' => 'Bahamas', | |
), | |
'BH' => | |
array ( | |
'alpha2' => 'BH', | |
'alpha3' => 'BHR', | |
'full' => 'Bahrain', | |
), | |
'BD' => | |
array ( | |
'alpha2' => 'BD', | |
'alpha3' => 'BGD', | |
'full' => 'Bangladesh', | |
), | |
'BB' => | |
array ( | |
'alpha2' => 'BB', | |
'alpha3' => 'BRB', | |
'full' => 'Barbados', | |
), | |
'BY' => | |
array ( | |
'alpha2' => 'BY', | |
'alpha3' => 'BLR', | |
'full' => 'Belarus', | |
), | |
'BE' => | |
array ( | |
'alpha2' => 'BE', | |
'alpha3' => 'BEL', | |
'full' => 'Belgium', | |
), | |
'BZ' => | |
array ( | |
'alpha2' => 'BZ', | |
'alpha3' => 'BLZ', | |
'full' => 'Belize', | |
), | |
'BJ' => | |
array ( | |
'alpha2' => 'BJ', | |
'alpha3' => 'BEN', | |
'full' => 'Benin', | |
), | |
'BM' => | |
array ( | |
'alpha2' => 'BM', | |
'alpha3' => 'BMU', | |
'full' => 'Bermuda', | |
), | |
'BT' => | |
array ( | |
'alpha2' => 'BT', | |
'alpha3' => 'BTN', | |
'full' => 'Bhutan', | |
), | |
'BO' => | |
array ( | |
'alpha2' => 'BO', | |
'alpha3' => 'BOL', | |
'full' => 'Bolivia', | |
), | |
'BA' => | |
array ( | |
'alpha2' => 'BA', | |
'alpha3' => 'BIH', | |
'full' => 'Bosnia and Herzegovina', | |
), | |
'BW' => | |
array ( | |
'alpha2' => 'BW', | |
'alpha3' => 'BWA', | |
'full' => 'Botswana', | |
), | |
'BV' => | |
array ( | |
'alpha2' => 'BV', | |
'alpha3' => 'BVT', | |
'full' => 'Bouvet Island', | |
), | |
'BR' => | |
array ( | |
'alpha2' => 'BR', | |
'alpha3' => 'BRA', | |
'full' => 'Brazil', | |
), | |
'IO' => | |
array ( | |
'alpha2' => 'IO', | |
'alpha3' => 'IOT', | |
'full' => 'British Indian Ocean Territory', | |
), | |
'BN' => | |
array ( | |
'alpha2' => 'BN', | |
'alpha3' => 'BRN', | |
'full' => 'Brunei', | |
), | |
'BG' => | |
array ( | |
'alpha2' => 'BG', | |
'alpha3' => 'BGR', | |
'full' => 'Bulgaria', | |
), | |
'BF' => | |
array ( | |
'alpha2' => 'BF', | |
'alpha3' => 'BFA', | |
'full' => 'Burkina Faso', | |
), | |
'BI' => | |
array ( | |
'alpha2' => 'BI', | |
'alpha3' => 'BDI', | |
'full' => 'Burundi', | |
), | |
'KH' => | |
array ( | |
'alpha2' => 'KH', | |
'alpha3' => 'KHM', | |
'full' => 'Cambodia', | |
), | |
'CM' => | |
array ( | |
'alpha2' => 'CM', | |
'alpha3' => 'CMR', | |
'full' => 'Cameroon', | |
), | |
'CA' => | |
array ( | |
'alpha2' => 'CA', | |
'alpha3' => 'CAN', | |
'full' => 'Canada', | |
), | |
'CV' => | |
array ( | |
'alpha2' => 'CV', | |
'alpha3' => 'CPV', | |
'full' => 'Cape Verde', | |
), | |
'KY' => | |
array ( | |
'alpha2' => 'KY', | |
'alpha3' => 'CYM', | |
'full' => 'Cayman Islands', | |
), | |
'CF' => | |
array ( | |
'alpha2' => 'CF', | |
'alpha3' => 'CAF', | |
'full' => 'Central African Republic', | |
), | |
'TD' => | |
array ( | |
'alpha2' => 'TD', | |
'alpha3' => 'TCD', | |
'full' => 'Chad', | |
), | |
'CL' => | |
array ( | |
'alpha2' => 'CL', | |
'alpha3' => 'CHL', | |
'full' => 'Chile', | |
), | |
'CN' => | |
array ( | |
'alpha2' => 'CN', | |
'alpha3' => 'CHN', | |
'full' => 'China', | |
), | |
'CX' => | |
array ( | |
'alpha2' => 'CX', | |
'alpha3' => 'CXR', | |
'full' => 'Christmas Island', | |
), | |
'CC' => | |
array ( | |
'alpha2' => 'CC', | |
'alpha3' => 'CCK', | |
'full' => 'Cocos (Keeling) Islands', | |
), | |
'CO' => | |
array ( | |
'alpha2' => 'CO', | |
'alpha3' => 'COL', | |
'full' => 'Colombia', | |
), | |
'KM' => | |
array ( | |
'alpha2' => 'KM', | |
'alpha3' => 'COM', | |
'full' => 'Comoros', | |
), | |
'CG' => | |
array ( | |
'alpha2' => 'CG', | |
'alpha3' => 'COG', | |
'full' => 'Congo', | |
), | |
'CD' => | |
array ( | |
'alpha2' => 'CD', | |
'alpha3' => 'COD', | |
'full' => 'Congo, the Democratic Republic of the', | |
), | |
'CK' => | |
array ( | |
'alpha2' => 'CK', | |
'alpha3' => 'COK', | |
'full' => 'Cook Islands', | |
), | |
'CR' => | |
array ( | |
'alpha2' => 'CR', | |
'alpha3' => 'CRI', | |
'full' => 'Costa Rica', | |
), | |
'CI' => | |
array ( | |
'alpha2' => 'CI', | |
'alpha3' => 'CIV', | |
'full' => 'Ivory Coast', | |
), | |
'HR' => | |
array ( | |
'alpha2' => 'HR', | |
'alpha3' => 'HRV', | |
'full' => 'Croatia', | |
), | |
'CU' => | |
array ( | |
'alpha2' => 'CU', | |
'alpha3' => 'CUB', | |
'full' => 'Cuba', | |
), | |
'CY' => | |
array ( | |
'alpha2' => 'CY', | |
'alpha3' => 'CYP', | |
'full' => 'Cyprus', | |
), | |
'CZ' => | |
array ( | |
'alpha2' => 'CZ', | |
'alpha3' => 'CZE', | |
'full' => 'Czech Republic', | |
), | |
'DK' => | |
array ( | |
'alpha2' => 'DK', | |
'alpha3' => 'DNK', | |
'full' => 'Denmark', | |
), | |
'DJ' => | |
array ( | |
'alpha2' => 'DJ', | |
'alpha3' => 'DJI', | |
'full' => 'Djibouti', | |
), | |
'DM' => | |
array ( | |
'alpha2' => 'DM', | |
'alpha3' => 'DMA', | |
'full' => 'Dominica', | |
), | |
'DO' => | |
array ( | |
'alpha2' => 'DO', | |
'alpha3' => 'DOM', | |
'full' => 'Dominican Republic', | |
), | |
'EC' => | |
array ( | |
'alpha2' => 'EC', | |
'alpha3' => 'ECU', | |
'full' => 'Ecuador', | |
), | |
'EG' => | |
array ( | |
'alpha2' => 'EG', | |
'alpha3' => 'EGY', | |
'full' => 'Egypt', | |
), | |
'SV' => | |
array ( | |
'alpha2' => 'SV', | |
'alpha3' => 'SLV', | |
'full' => 'El Salvador', | |
), | |
'GQ' => | |
array ( | |
'alpha2' => 'GQ', | |
'alpha3' => 'GNQ', | |
'full' => 'Equatorial Guinea', | |
), | |
'ER' => | |
array ( | |
'alpha2' => 'ER', | |
'alpha3' => 'ERI', | |
'full' => 'Eritrea', | |
), | |
'EE' => | |
array ( | |
'alpha2' => 'EE', | |
'alpha3' => 'EST', | |
'full' => 'Estonia', | |
), | |
'ET' => | |
array ( | |
'alpha2' => 'ET', | |
'alpha3' => 'ETH', | |
'full' => 'Ethiopia', | |
), | |
'FK' => | |
array ( | |
'alpha2' => 'FK', | |
'alpha3' => 'FLK', | |
'full' => 'Falkland Islands (Malvinas)', | |
), | |
'FO' => | |
array ( | |
'alpha2' => 'FO', | |
'alpha3' => 'FRO', | |
'full' => 'Faroe Islands', | |
), | |
'FJ' => | |
array ( | |
'alpha2' => 'FJ', | |
'alpha3' => 'FJI', | |
'full' => 'Fiji', | |
), | |
'FI' => | |
array ( | |
'alpha2' => 'FI', | |
'alpha3' => 'FIN', | |
'full' => 'Finland', | |
), | |
'FR' => | |
array ( | |
'alpha2' => 'FR', | |
'alpha3' => 'FRA', | |
'full' => 'France', | |
), | |
'GF' => | |
array ( | |
'alpha2' => 'GF', | |
'alpha3' => 'GUF', | |
'full' => 'French Guiana', | |
), | |
'PF' => | |
array ( | |
'alpha2' => 'PF', | |
'alpha3' => 'PYF', | |
'full' => 'French Polynesia', | |
), | |
'TF' => | |
array ( | |
'alpha2' => 'TF', | |
'alpha3' => 'ATF', | |
'full' => 'French Southern Territories', | |
), | |
'GA' => | |
array ( | |
'alpha2' => 'GA', | |
'alpha3' => 'GAB', | |
'full' => 'Gabon', | |
), | |
'GM' => | |
array ( | |
'alpha2' => 'GM', | |
'alpha3' => 'GMB', | |
'full' => 'Gambia', | |
), | |
'GE' => | |
array ( | |
'alpha2' => 'GE', | |
'alpha3' => 'GEO', | |
'full' => 'Georgia', | |
), | |
'DE' => | |
array ( | |
'alpha2' => 'DE', | |
'alpha3' => 'DEU', | |
'full' => 'Germany', | |
), | |
'GH' => | |
array ( | |
'alpha2' => 'GH', | |
'alpha3' => 'GHA', | |
'full' => 'Ghana', | |
), | |
'GI' => | |
array ( | |
'alpha2' => 'GI', | |
'alpha3' => 'GIB', | |
'full' => 'Gibraltar', | |
), | |
'GR' => | |
array ( | |
'alpha2' => 'GR', | |
'alpha3' => 'GRC', | |
'full' => 'Greece', | |
), | |
'GL' => | |
array ( | |
'alpha2' => 'GL', | |
'alpha3' => 'GRL', | |
'full' => 'Greenland', | |
), | |
'GD' => | |
array ( | |
'alpha2' => 'GD', | |
'alpha3' => 'GRD', | |
'full' => 'Grenada', | |
), | |
'GP' => | |
array ( | |
'alpha2' => 'GP', | |
'alpha3' => 'GLP', | |
'full' => 'Guadeloupe', | |
), | |
'GU' => | |
array ( | |
'alpha2' => 'GU', | |
'alpha3' => 'GUM', | |
'full' => 'Guam', | |
), | |
'GT' => | |
array ( | |
'alpha2' => 'GT', | |
'alpha3' => 'GTM', | |
'full' => 'Guatemala', | |
), | |
'GG' => | |
array ( | |
'alpha2' => 'GG', | |
'alpha3' => 'GGY', | |
'full' => 'Guernsey', | |
), | |
'GN' => | |
array ( | |
'alpha2' => 'GN', | |
'alpha3' => 'GIN', | |
'full' => 'Guinea', | |
), | |
'GW' => | |
array ( | |
'alpha2' => 'GW', | |
'alpha3' => 'GNB', | |
'full' => 'Guinea-Bissau', | |
), | |
'GY' => | |
array ( | |
'alpha2' => 'GY', | |
'alpha3' => 'GUY', | |
'full' => 'Guyana', | |
), | |
'HT' => | |
array ( | |
'alpha2' => 'HT', | |
'alpha3' => 'HTI', | |
'full' => 'Haiti', | |
), | |
'HM' => | |
array ( | |
'alpha2' => 'HM', | |
'alpha3' => 'HMD', | |
'full' => 'Heard Island and McDonald Islands', | |
), | |
'VA' => | |
array ( | |
'alpha2' => 'VA', | |
'alpha3' => 'VAT', | |
'full' => 'Holy See (Vatican City State)', | |
), | |
'HN' => | |
array ( | |
'alpha2' => 'HN', | |
'alpha3' => 'HND', | |
'full' => 'Honduras', | |
), | |
'HK' => | |
array ( | |
'alpha2' => 'HK', | |
'alpha3' => 'HKG', | |
'full' => 'Hong Kong', | |
), | |
'HU' => | |
array ( | |
'alpha2' => 'HU', | |
'alpha3' => 'HUN', | |
'full' => 'Hungary', | |
), | |
'IS' => | |
array ( | |
'alpha2' => 'IS', | |
'alpha3' => 'ISL', | |
'full' => 'Iceland', | |
), | |
'IN' => | |
array ( | |
'alpha2' => 'IN', | |
'alpha3' => 'IND', | |
'full' => 'India', | |
), | |
'ID' => | |
array ( | |
'alpha2' => 'ID', | |
'alpha3' => 'IDN', | |
'full' => 'Indonesia', | |
), | |
'IR' => | |
array ( | |
'alpha2' => 'IR', | |
'alpha3' => 'IRN', | |
'full' => 'Iran, Islamic Republic of', | |
), | |
'IQ' => | |
array ( | |
'alpha2' => 'IQ', | |
'alpha3' => 'IRQ', | |
'full' => 'Iraq', | |
), | |
'IE' => | |
array ( | |
'alpha2' => 'IE', | |
'alpha3' => 'IRL', | |
'full' => 'Ireland', | |
), | |
'IM' => | |
array ( | |
'alpha2' => 'IM', | |
'alpha3' => 'IMN', | |
'full' => 'Isle of Man', | |
), | |
'IL' => | |
array ( | |
'alpha2' => 'IL', | |
'alpha3' => 'ISR', | |
'full' => 'Israel', | |
), | |
'IT' => | |
array ( | |
'alpha2' => 'IT', | |
'alpha3' => 'ITA', | |
'full' => 'Italy', | |
), | |
'JM' => | |
array ( | |
'alpha2' => 'JM', | |
'alpha3' => 'JAM', | |
'full' => 'Jamaica', | |
), | |
'JP' => | |
array ( | |
'alpha2' => 'JP', | |
'alpha3' => 'JPN', | |
'full' => 'Japan', | |
), | |
'JE' => | |
array ( | |
'alpha2' => 'JE', | |
'alpha3' => 'JEY', | |
'full' => 'Jersey', | |
), | |
'JO' => | |
array ( | |
'alpha2' => 'JO', | |
'alpha3' => 'JOR', | |
'full' => 'Jordan', | |
), | |
'KZ' => | |
array ( | |
'alpha2' => 'KZ', | |
'alpha3' => 'KAZ', | |
'full' => 'Kazakhstan', | |
), | |
'KE' => | |
array ( | |
'alpha2' => 'KE', | |
'alpha3' => 'KEN', | |
'full' => 'Kenya', | |
), | |
'KI' => | |
array ( | |
'alpha2' => 'KI', | |
'alpha3' => 'KIR', | |
'full' => 'Kiribati', | |
), | |
'KP' => | |
array ( | |
'alpha2' => 'KP', | |
'alpha3' => 'PRK', | |
'full' => 'Korea, Democratic People\'s Republic of', | |
), | |
'KR' => | |
array ( | |
'alpha2' => 'KR', | |
'alpha3' => 'KOR', | |
'full' => 'South Korea', | |
), | |
'KW' => | |
array ( | |
'alpha2' => 'KW', | |
'alpha3' => 'KWT', | |
'full' => 'Kuwait', | |
), | |
'KG' => | |
array ( | |
'alpha2' => 'KG', | |
'alpha3' => 'KGZ', | |
'full' => 'Kyrgyzstan', | |
), | |
'LA' => | |
array ( | |
'alpha2' => 'LA', | |
'alpha3' => 'LAO', | |
'full' => 'Lao People\'s Democratic Republic', | |
), | |
'LV' => | |
array ( | |
'alpha2' => 'LV', | |
'alpha3' => 'LVA', | |
'full' => 'Latvia', | |
), | |
'LB' => | |
array ( | |
'alpha2' => 'LB', | |
'alpha3' => 'LBN', | |
'full' => 'Lebanon', | |
), | |
'LS' => | |
array ( | |
'alpha2' => 'LS', | |
'alpha3' => 'LSO', | |
'full' => 'Lesotho', | |
), | |
'LR' => | |
array ( | |
'alpha2' => 'LR', | |
'alpha3' => 'LBR', | |
'full' => 'Liberia', | |
), | |
'LY' => | |
array ( | |
'alpha2' => 'LY', | |
'alpha3' => 'LBY', | |
'full' => 'Libya', | |
), | |
'LI' => | |
array ( | |
'alpha2' => 'LI', | |
'alpha3' => 'LIE', | |
'full' => 'Liechtenstein', | |
), | |
'LT' => | |
array ( | |
'alpha2' => 'LT', | |
'alpha3' => 'LTU', | |
'full' => 'Lithuania', | |
), | |
'LU' => | |
array ( | |
'alpha2' => 'LU', | |
'alpha3' => 'LUX', | |
'full' => 'Luxembourg', | |
), | |
'MO' => | |
array ( | |
'alpha2' => 'MO', | |
'alpha3' => 'MAC', | |
'full' => 'Macao', | |
), | |
'MK' => | |
array ( | |
'alpha2' => 'MK', | |
'alpha3' => 'MKD', | |
'full' => 'Macedonia, the former Yugoslav Republic of', | |
), | |
'MG' => | |
array ( | |
'alpha2' => 'MG', | |
'alpha3' => 'MDG', | |
'full' => 'Madagascar', | |
), | |
'MW' => | |
array ( | |
'alpha2' => 'MW', | |
'alpha3' => 'MWI', | |
'full' => 'Malawi', | |
), | |
'MY' => | |
array ( | |
'alpha2' => 'MY', | |
'alpha3' => 'MYS', | |
'full' => 'Malaysia', | |
), | |
'MV' => | |
array ( | |
'alpha2' => 'MV', | |
'alpha3' => 'MDV', | |
'full' => 'Maldives', | |
), | |
'ML' => | |
array ( | |
'alpha2' => 'ML', | |
'alpha3' => 'MLI', | |
'full' => 'Mali', | |
), | |
'MT' => | |
array ( | |
'alpha2' => 'MT', | |
'alpha3' => 'MLT', | |
'full' => 'Malta', | |
), | |
'MH' => | |
array ( | |
'alpha2' => 'MH', | |
'alpha3' => 'MHL', | |
'full' => 'Marshall Islands', | |
), | |
'MQ' => | |
array ( | |
'alpha2' => 'MQ', | |
'alpha3' => 'MTQ', | |
'full' => 'Martinique', | |
), | |
'MR' => | |
array ( | |
'alpha2' => 'MR', | |
'alpha3' => 'MRT', | |
'full' => 'Mauritania', | |
), | |
'MU' => | |
array ( | |
'alpha2' => 'MU', | |
'alpha3' => 'MUS', | |
'full' => 'Mauritius', | |
), | |
'YT' => | |
array ( | |
'alpha2' => 'YT', | |
'alpha3' => 'MYT', | |
'full' => 'Mayotte', | |
), | |
'MX' => | |
array ( | |
'alpha2' => 'MX', | |
'alpha3' => 'MEX', | |
'full' => 'Mexico', | |
), | |
'FM' => | |
array ( | |
'alpha2' => 'FM', | |
'alpha3' => 'FSM', | |
'full' => 'Micronesia, Federated States of', | |
), | |
'MD' => | |
array ( | |
'alpha2' => 'MD', | |
'alpha3' => 'MDA', | |
'full' => 'Moldova, Republic of', | |
), | |
'MC' => | |
array ( | |
'alpha2' => 'MC', | |
'alpha3' => 'MCO', | |
'full' => 'Monaco', | |
), | |
'MN' => | |
array ( | |
'alpha2' => 'MN', | |
'alpha3' => 'MNG', | |
'full' => 'Mongolia', | |
), | |
'ME' => | |
array ( | |
'alpha2' => 'ME', | |
'alpha3' => 'MNE', | |
'full' => 'Montenegro', | |
), | |
'MS' => | |
array ( | |
'alpha2' => 'MS', | |
'alpha3' => 'MSR', | |
'full' => 'Montserrat', | |
), | |
'MA' => | |
array ( | |
'alpha2' => 'MA', | |
'alpha3' => 'MAR', | |
'full' => 'Morocco', | |
), | |
'MZ' => | |
array ( | |
'alpha2' => 'MZ', | |
'alpha3' => 'MOZ', | |
'full' => 'Mozambique', | |
), | |
'MM' => | |
array ( | |
'alpha2' => 'MM', | |
'alpha3' => 'MMR', | |
'full' => 'Burma', | |
), | |
'NA' => | |
array ( | |
'alpha2' => 'NA', | |
'alpha3' => 'NAM', | |
'full' => 'Namibia', | |
), | |
'NR' => | |
array ( | |
'alpha2' => 'NR', | |
'alpha3' => 'NRU', | |
'full' => 'Nauru', | |
), | |
'NP' => | |
array ( | |
'alpha2' => 'NP', | |
'alpha3' => 'NPL', | |
'full' => 'Nepal', | |
), | |
'NL' => | |
array ( | |
'alpha2' => 'NL', | |
'alpha3' => 'NLD', | |
'full' => 'Netherlands', | |
), | |
'AN' => | |
array ( | |
'alpha2' => 'AN', | |
'alpha3' => 'ANT', | |
'full' => 'Netherlands Antilles', | |
), | |
'NC' => | |
array ( | |
'alpha2' => 'NC', | |
'alpha3' => 'NCL', | |
'full' => 'New Caledonia', | |
), | |
'NZ' => | |
array ( | |
'alpha2' => 'NZ', | |
'alpha3' => 'NZL', | |
'full' => 'New Zealand', | |
), | |
'NI' => | |
array ( | |
'alpha2' => 'NI', | |
'alpha3' => 'NIC', | |
'full' => 'Nicaragua', | |
), | |
'NE' => | |
array ( | |
'alpha2' => 'NE', | |
'alpha3' => 'NER', | |
'full' => 'Niger', | |
), | |
'NG' => | |
array ( | |
'alpha2' => 'NG', | |
'alpha3' => 'NGA', | |
'full' => 'Nigeria', | |
), | |
'NU' => | |
array ( | |
'alpha2' => 'NU', | |
'alpha3' => 'NIU', | |
'full' => 'Niue', | |
), | |
'NF' => | |
array ( | |
'alpha2' => 'NF', | |
'alpha3' => 'NFK', | |
'full' => 'Norfolk Island', | |
), | |
'MP' => | |
array ( | |
'alpha2' => 'MP', | |
'alpha3' => 'MNP', | |
'full' => 'Northern Mariana Islands', | |
), | |
'NO' => | |
array ( | |
'alpha2' => 'NO', | |
'alpha3' => 'NOR', | |
'full' => 'Norway', | |
), | |
'OM' => | |
array ( | |
'alpha2' => 'OM', | |
'alpha3' => 'OMN', | |
'full' => 'Oman', | |
), | |
'PK' => | |
array ( | |
'alpha2' => 'PK', | |
'alpha3' => 'PAK', | |
'full' => 'Pakistan', | |
), | |
'PW' => | |
array ( | |
'alpha2' => 'PW', | |
'alpha3' => 'PLW', | |
'full' => 'Palau', | |
), | |
'PS' => | |
array ( | |
'alpha2' => 'PS', | |
'alpha3' => 'PSE', | |
'full' => 'Palestinian Territory, Occupied', | |
), | |
'PA' => | |
array ( | |
'alpha2' => 'PA', | |
'alpha3' => 'PAN', | |
'full' => 'Panama', | |
), | |
'PG' => | |
array ( | |
'alpha2' => 'PG', | |
'alpha3' => 'PNG', | |
'full' => 'Papua New Guinea', | |
), | |
'PY' => | |
array ( | |
'alpha2' => 'PY', | |
'alpha3' => 'PRY', | |
'full' => 'Paraguay', | |
), | |
'PE' => | |
array ( | |
'alpha2' => 'PE', | |
'alpha3' => 'PER', | |
'full' => 'Peru', | |
), | |
'PH' => | |
array ( | |
'alpha2' => 'PH', | |
'alpha3' => 'PHL', | |
'full' => 'Philippines', | |
), | |
'PN' => | |
array ( | |
'alpha2' => 'PN', | |
'alpha3' => 'PCN', | |
'full' => 'Pitcairn', | |
), | |
'PL' => | |
array ( | |
'alpha2' => 'PL', | |
'alpha3' => 'POL', | |
'full' => 'Poland', | |
), | |
'PT' => | |
array ( | |
'alpha2' => 'PT', | |
'alpha3' => 'PRT', | |
'full' => 'Portugal', | |
), | |
'PR' => | |
array ( | |
'alpha2' => 'PR', | |
'alpha3' => 'PRI', | |
'full' => 'Puerto Rico', | |
), | |
'QA' => | |
array ( | |
'alpha2' => 'QA', | |
'alpha3' => 'QAT', | |
'full' => 'Qatar', | |
), | |
'RE' => | |
array ( | |
'alpha2' => 'RE', | |
'alpha3' => 'REU', | |
'full' => 'Réunion', | |
), | |
'RO' => | |
array ( | |
'alpha2' => 'RO', | |
'alpha3' => 'ROU', | |
'full' => 'Romania', | |
), | |
'RU' => | |
array ( | |
'alpha2' => 'RU', | |
'alpha3' => 'RUS', | |
'full' => 'Russia', | |
), | |
'RW' => | |
array ( | |
'alpha2' => 'RW', | |
'alpha3' => 'RWA', | |
'full' => 'Rwanda', | |
), | |
'SH' => | |
array ( | |
'alpha2' => 'SH', | |
'alpha3' => 'SHN', | |
'full' => 'Saint Helena, Ascension and Tristan da Cunha', | |
), | |
'KN' => | |
array ( | |
'alpha2' => 'KN', | |
'alpha3' => 'KNA', | |
'full' => 'Saint Kitts and Nevis', | |
), | |
'LC' => | |
array ( | |
'alpha2' => 'LC', | |
'alpha3' => 'LCA', | |
'full' => 'Saint Lucia', | |
), | |
'PM' => | |
array ( | |
'alpha2' => 'PM', | |
'alpha3' => 'SPM', | |
'full' => 'Saint Pierre and Miquelon', | |
), | |
'VC' => | |
array ( | |
'alpha2' => 'VC', | |
'alpha3' => 'VCT', | |
'full' => 'St. Vincent and the Grenadines', | |
), | |
'WS' => | |
array ( | |
'alpha2' => 'WS', | |
'alpha3' => 'WSM', | |
'full' => 'Samoa', | |
), | |
'SM' => | |
array ( | |
'alpha2' => 'SM', | |
'alpha3' => 'SMR', | |
'full' => 'San Marino', | |
), | |
'ST' => | |
array ( | |
'alpha2' => 'ST', | |
'alpha3' => 'STP', | |
'full' => 'Sao Tome and Principe', | |
), | |
'SA' => | |
array ( | |
'alpha2' => 'SA', | |
'alpha3' => 'SAU', | |
'full' => 'Saudi Arabia', | |
), | |
'SN' => | |
array ( | |
'alpha2' => 'SN', | |
'alpha3' => 'SEN', | |
'full' => 'Senegal', | |
), | |
'RS' => | |
array ( | |
'alpha2' => 'RS', | |
'alpha3' => 'SRB', | |
'full' => 'Serbia', | |
), | |
'SC' => | |
array ( | |
'alpha2' => 'SC', | |
'alpha3' => 'SYC', | |
'full' => 'Seychelles', | |
), | |
'SL' => | |
array ( | |
'alpha2' => 'SL', | |
'alpha3' => 'SLE', | |
'full' => 'Sierra Leone', | |
), | |
'SG' => | |
array ( | |
'alpha2' => 'SG', | |
'alpha3' => 'SGP', | |
'full' => 'Singapore', | |
), | |
'SK' => | |
array ( | |
'alpha2' => 'SK', | |
'alpha3' => 'SVK', | |
'full' => 'Slovakia', | |
), | |
'SI' => | |
array ( | |
'alpha2' => 'SI', | |
'alpha3' => 'SVN', | |
'full' => 'Slovenia', | |
), | |
'SB' => | |
array ( | |
'alpha2' => 'SB', | |
'alpha3' => 'SLB', | |
'full' => 'Solomon Islands', | |
), | |
'SO' => | |
array ( | |
'alpha2' => 'SO', | |
'alpha3' => 'SOM', | |
'full' => 'Somalia', | |
), | |
'ZA' => | |
array ( | |
'alpha2' => 'ZA', | |
'alpha3' => 'ZAF', | |
'full' => 'South Africa', | |
), | |
'GS' => | |
array ( | |
'alpha2' => 'GS', | |
'alpha3' => 'SGS', | |
'full' => 'South Georgia and the South Sandwich Islands', | |
), | |
'SS' => | |
array ( | |
'alpha2' => 'SS', | |
'alpha3' => 'SSD', | |
'full' => 'South Sudan', | |
), | |
'ES' => | |
array ( | |
'alpha2' => 'ES', | |
'alpha3' => 'ESP', | |
'full' => 'Spain', | |
), | |
'LK' => | |
array ( | |
'alpha2' => 'LK', | |
'alpha3' => 'LKA', | |
'full' => 'Sri Lanka', | |
), | |
'SD' => | |
array ( | |
'alpha2' => 'SD', | |
'alpha3' => 'SDN', | |
'full' => 'Sudan', | |
), | |
'SR' => | |
array ( | |
'alpha2' => 'SR', | |
'alpha3' => 'SUR', | |
'full' => 'Suriname', | |
), | |
'SJ' => | |
array ( | |
'alpha2' => 'SJ', | |
'alpha3' => 'SJM', | |
'full' => 'Svalbard and Jan Mayen', | |
), | |
'SZ' => | |
array ( | |
'alpha2' => 'SZ', | |
'alpha3' => 'SWZ', | |
'full' => 'Swaziland', | |
), | |
'SE' => | |
array ( | |
'alpha2' => 'SE', | |
'alpha3' => 'SWE', | |
'full' => 'Sweden', | |
), | |
'CH' => | |
array ( | |
'alpha2' => 'CH', | |
'alpha3' => 'CHE', | |
'full' => 'Switzerland', | |
), | |
'SY' => | |
array ( | |
'alpha2' => 'SY', | |
'alpha3' => 'SYR', | |
'full' => 'Syrian Arab Republic', | |
), | |
'TW' => | |
array ( | |
'alpha2' => 'TW', | |
'alpha3' => 'TWN', | |
'full' => 'Taiwan', | |
), | |
'TJ' => | |
array ( | |
'alpha2' => 'TJ', | |
'alpha3' => 'TJK', | |
'full' => 'Tajikistan', | |
), | |
'TZ' => | |
array ( | |
'alpha2' => 'TZ', | |
'alpha3' => 'TZA', | |
'full' => 'Tanzania, United Republic of', | |
), | |
'TH' => | |
array ( | |
'alpha2' => 'TH', | |
'alpha3' => 'THA', | |
'full' => 'Thailand', | |
), | |
'TL' => | |
array ( | |
'alpha2' => 'TL', | |
'alpha3' => 'TLS', | |
'full' => 'Timor-Leste', | |
), | |
'TG' => | |
array ( | |
'alpha2' => 'TG', | |
'alpha3' => 'TGO', | |
'full' => 'Togo', | |
), | |
'TK' => | |
array ( | |
'alpha2' => 'TK', | |
'alpha3' => 'TKL', | |
'full' => 'Tokelau', | |
), | |
'TO' => | |
array ( | |
'alpha2' => 'TO', | |
'alpha3' => 'TON', | |
'full' => 'Tonga', | |
), | |
'TT' => | |
array ( | |
'alpha2' => 'TT', | |
'alpha3' => 'TTO', | |
'full' => 'Trinidad and Tobago', | |
), | |
'TN' => | |
array ( | |
'alpha2' => 'TN', | |
'alpha3' => 'TUN', | |
'full' => 'Tunisia', | |
), | |
'TR' => | |
array ( | |
'alpha2' => 'TR', | |
'alpha3' => 'TUR', | |
'full' => 'Turkey', | |
), | |
'TM' => | |
array ( | |
'alpha2' => 'TM', | |
'alpha3' => 'TKM', | |
'full' => 'Turkmenistan', | |
), | |
'TC' => | |
array ( | |
'alpha2' => 'TC', | |
'alpha3' => 'TCA', | |
'full' => 'Turks and Caicos Islands', | |
), | |
'TV' => | |
array ( | |
'alpha2' => 'TV', | |
'alpha3' => 'TUV', | |
'full' => 'Tuvalu', | |
), | |
'UG' => | |
array ( | |
'alpha2' => 'UG', | |
'alpha3' => 'UGA', | |
'full' => 'Uganda', | |
), | |
'UA' => | |
array ( | |
'alpha2' => 'UA', | |
'alpha3' => 'UKR', | |
'full' => 'Ukraine', | |
), | |
'AE' => | |
array ( | |
'alpha2' => 'AE', | |
'alpha3' => 'ARE', | |
'full' => 'United Arab Emirates', | |
), | |
'GB' => | |
array ( | |
'alpha2' => 'GB', | |
'alpha3' => 'GBR', | |
'full' => 'United Kingdom', | |
), | |
'US' => | |
array ( | |
'alpha2' => 'US', | |
'alpha3' => 'USA', | |
'full' => 'United States', | |
), | |
'UM' => | |
array ( | |
'alpha2' => 'UM', | |
'alpha3' => 'UMI', | |
'full' => 'United States Minor Outlying Islands', | |
), | |
'UY' => | |
array ( | |
'alpha2' => 'UY', | |
'alpha3' => 'URY', | |
'full' => 'Uruguay', | |
), | |
'UZ' => | |
array ( | |
'alpha2' => 'UZ', | |
'alpha3' => 'UZB', | |
'full' => 'Uzbekistan', | |
), | |
'VU' => | |
array ( | |
'alpha2' => 'VU', | |
'alpha3' => 'VUT', | |
'full' => 'Vanuatu', | |
), | |
'VE' => | |
array ( | |
'alpha2' => 'VE', | |
'alpha3' => 'VEN', | |
'full' => 'Venezuela', | |
), | |
'VN' => | |
array ( | |
'alpha2' => 'VN', | |
'alpha3' => 'VNM', | |
'full' => 'Vietnam', | |
), | |
'VG' => | |
array ( | |
'alpha2' => 'VG', | |
'alpha3' => 'VGB', | |
'full' => 'Virgin Islands, British', | |
), | |
'VI' => | |
array ( | |
'alpha2' => 'VI', | |
'alpha3' => 'VIR', | |
'full' => 'Virgin Islands, U.S.', | |
), | |
'WF' => | |
array ( | |
'alpha2' => 'WF', | |
'alpha3' => 'WLF', | |
'full' => 'Wallis and Futuna', | |
), | |
'EH' => | |
array ( | |
'alpha2' => 'EH', | |
'alpha3' => 'ESH', | |
'full' => 'Western Sahara', | |
), | |
'YE' => | |
array ( | |
'alpha2' => 'YE', | |
'alpha3' => 'YEM', | |
'full' => 'Yemen', | |
), | |
'ZM' => | |
array ( | |
'alpha2' => 'ZM', | |
'alpha3' => 'ZMB', | |
'full' => 'Zambia', | |
), | |
'ZW' => | |
array ( | |
'alpha2' => 'ZW', | |
'alpha3' => 'ZWE', | |
'full' => 'Zimbabwe', | |
), | |
); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment