Skip to content

Instantly share code, notes, and snippets.

@azeemhassni
Last active September 10, 2021 13:17
Show Gist options
  • Save azeemhassni/c4f76224c4f931075525 to your computer and use it in GitHub Desktop.
Save azeemhassni/c4f76224c4f931075525 to your computer and use it in GitHub Desktop.
List Of All Countries PHP Array
<?php
$countries = array(
'Afghanistan' => 'Afghanistan',
'Albania' => 'Albania',
'Algeria' => 'Algeria',
'Armenia' => 'Armenia',
'Australia' => 'Australia',
'Austria' => 'Austria',
'Azerbaijan' => 'Azerbaijan',
'Bahrain' => 'Bahrain',
'Bangladesh' => 'Bangladesh',
'Belarus' => 'Belarus',
'Belgium' => 'Belgium',
'Bhutan' => 'Bhutan',
'Bosnia and Herzegovina' => 'Bosnia and Herzegovina',
'Botswana' => 'Botswana',
'Brunei' => 'Brunei',
'Bulgaria' => 'Bulgaria',
'Burkina Faso' => 'Burkina Faso',
'Burma' => 'Burma',
'Burundi' => 'Burundi',
'Cambodia' => 'Cambodia',
'Canada' => 'Canada',
'Central African Republic' => 'Central African Republic',
'Chad' => 'Chad',
'China' => 'China',
'Congo, Democratic Republic of the' => 'Congo, Democratic Republic of the',
'Congo, Republic of the' => 'Congo, Republic of the',
'Croatia' => 'Croatia',
'Cyprus' => 'Cyprus',
'Czech Republic' => 'Czech Republic',
'Denmark' => 'Denmark',
'Djibouti' => 'Djibouti',
'Dominica' => 'Dominica',
'Dominican Republic' => 'Dominican Republic',
'Egypt' => 'Egypt',
'Estonia' => 'Estonia',
'Ethiopia' => 'Ethiopia',
'Finland' => 'Finland',
'France' => 'France',
'French Guiana' => 'French Guiana',
'Gambia, The' => 'Gambia, The',
'Georgia' => 'Georgia',
'Germany' => 'Germany',
'Ghana' => 'Ghana',
'Greece' => 'Greece',
'Greenland' => 'Greenland',
'Guam' => 'Guam',
'Guatemala' => 'Guatemala',
'Guinea' => 'Guinea',
'Guinea-Bissau' => 'Guinea-Bissau',
'Guyana' => 'Guyana',
'Hong Kong' => 'Hong Kong',
'Hungary' => 'Hungary',
'Iceland' => 'Iceland',
'India' => 'India',
'Indonesia' => 'Indonesia',
'Iran' => 'Iran',
'Iraq' => 'Iraq',
'Ireland' => 'Ireland',
'Italy' => 'Italy',
'Jamaica' => 'Jamaica',
'Japan' => 'Japan',
'Jersey' => 'Jersey',
'Jordan' => 'Jordan',
'Kazakhstan' => 'Kazakhstan',
'Kenya' => 'Kenya',
'Korea North' => 'Korea North',
'Korea South' => 'Korea South',
'Kuwait' => 'Kuwait',
'Kyrgyzstan' => 'Kyrgyzstan',
'Laos' => 'Laos',
'Latvia' => 'Latvia',
'Lebanon' => 'Lebanon',
'Lesotho' => 'Lesotho',
'Liberia' => 'Liberia',
'Libya' => 'Libya',
'Lithuania' => 'Lithuania',
'Luxembourg' => 'Luxembourg',
'Madagascar' => 'Madagascar',
'Malawi' => 'Malawi',
'Malaysia' => 'Malaysia',
'Maldives' => 'Maldives',
'Mali' => 'Mali',
'Malta' => 'Malta',
'Mauritania' => 'Mauritania',
'Mauritius' => 'Mauritius',
'Mexico' => 'Mexico',
'Morocco' => 'Morocco',
'Mozambique' => 'Mozambique',
'Namibia' => 'Namibia',
'Nepal' => 'Nepal',
'Netherlands' => 'Netherlands',
'New Zealand' => 'New Zealand',
'Nicaragua' => 'Nicaragua',
'Niger' => 'Niger',
'Nigeria' => 'Nigeria',
'Norway' => 'Norway',
'Oman' => 'Oman',
'Pakistan' => 'Pakistan',
'Panama' => 'Panama',
'PapuaNew Guinea' => 'PapuaNew Guinea',
'Paraguay' => 'Paraguay',
'Peru' => 'Peru',
'Philippines' => 'Philippines',
'Poland' => 'Poland',
'Portugal' => 'Portugal',
'Qatar' => 'Qatar',
'Romania' => 'Romania',
'Russia' => 'Russia',
'Rwanda' => 'Rwanda',
'Saudi Arabia' => 'Saudi Arabia',
'Senegal' => 'Senegal',
'Serbiaand Montenegro' => 'Serbiaand Montenegro',
'Seychelles' => 'Seychelles',
'SierraLeone' => 'SierraLeone',
'Singapore' => 'Singapore',
'Slovakia' => 'Slovakia',
'Slovenia' => 'Slovenia',
'Somalia' => 'Somalia',
'South Africa' => 'South Africa',
'Spain' => 'Spain',
'SriLanka' => 'SriLanka',
'Sudan' => 'Sudan',
'Swaziland' => 'Swaziland',
'Sweden' => 'Sweden',
'Switzerland' => 'Switzerland',
'Syria' => 'Syria',
'Taiwan' => 'Taiwan',
'Tajikistan' => 'Tajikistan',
'Tanzania' => 'Tanzania',
'Thailand' => 'Thailand',
'Trinidadand Tobago' => 'Trinidadand Tobago',
'Tunisia' => 'Tunisia',
'Turkey' => 'Turkey',
'Turkmenistan' => 'Turkmenistan',
'Uganda' => 'Uganda',
'Ukraine' => 'Ukraine',
'United Arab Emirates' => 'United Arab Emirates',
'United Kingdom' => 'United Kingdom',
'United States' => 'United States',
'Uruguay' => 'Uruguay',
'Uzbekistan' => 'Uzbekistan',
'Vietnam' => 'Vietnam',
'VirginIslands' => 'VirginIslands',
'Yemen' => 'Yemen',
'Zambia' => 'Zambia',
'Zimbabwe' => 'Zimbabwe',
'Others- Please Specify' => 'Others- Please Specify',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment