Last active
June 3, 2023 22:13
-
-
Save sumanthkumarc/3204c761eaa1646f3a4fd6cb1cf99e7c to your computer and use it in GitHub Desktop.
EU (European country code and names list) in PHP array format
This file contains hidden or 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
<?php | |
function get_eu_countries() { | |
$countries = []; | |
$countries['AT'] = ['name' => 'Austria',]; | |
$countries['BE'] = ['name' => 'Belgium',]; | |
$countries['BG'] = ['name' => 'Bulgaria',]; | |
$countries['CY'] = ['name' => 'Cyprus',]; | |
$countries['CZ'] = ['name' => 'Czech Republic',]; | |
$countries['DE'] = ['name' => 'Germany',]; | |
$countries['DK'] = ['name' => 'Denmark',]; | |
$countries['EE'] = ['name' => 'Estonia',]; | |
$countries['ES'] = ['name' => 'Spain',]; | |
$countries['FI'] = ['name' => 'Finland',]; | |
$countries['FR'] = ['name' => 'France',]; | |
$countries['GB'] = ['name' => 'United Kingdom',]; | |
$countries['GR'] = ['name' => 'Greece',]; | |
$countries['HU'] = ['name' => 'Hungary',]; | |
$countries['HR'] = ['name' => 'Croatia',]; | |
$countries['IE'] = ['name' => 'Ireland, Republic of (EIRE)',]; | |
$countries['IT'] = ['name' => 'Italy',]; | |
$countries['LT'] = ['name' => 'Lithuania',]; | |
$countries['LU'] = ['name' => 'Luxembourg',]; | |
$countries['LV'] = ['name' => 'Latvia',]; | |
$countries['MT'] = ['name' => 'Malta',]; | |
$countries['NL'] = ['name' => 'Netherlands',]; | |
$countries['PL'] = ['name' => 'Poland',]; | |
$countries['PT'] = ['name' => 'Portugal',]; | |
$countries['RO'] = ['name' => 'Romania',]; | |
$countries['SE'] = ['name' => 'Sweden',]; | |
$countries['SI'] = ['name' => 'Slovenia',]; | |
$countries['SK'] = ['name' => 'Slovakia',]; | |
return $countries; | |
} | |
?> |
PhilETaylor
commented
May 25, 2023
via email
GB also !== UK either - they are 2 totally different things
On 26 May 2023, at 00:12, Petar ***@***.***> wrote:
Re: ***@***.*** commented on this gist.
--------------------------------
👍
—
Reply to this email directly, view it on GitHub <https://gist.github.com/sumanthkumarc/3204c761eaa1646f3a4fd6cb1cf99e7c#gistcomment-4579932> or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADBVXDYXMJGL3WJL6QBHYTXH7RNXBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4DGMBYGY2TSNFHORZGSZ3HMVZKMY3SMVQXIZI> .
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .
@PhilETaylor can you explain the difference between the two? Thanks
Sure - I have to quote this at least once a month as I live in Jersey, Channel Islands, which are also not in the UK, but often people say we are (Ref: https://www.gov.je/Leisure/Jersey/pages/profile.aspx)
GB = "England, Scotland and Wales make up Great Britain"
UK = "The United Kingdom includes Great Britain (England, Scotland and Wales) and Northern Ireland"
Very interesting, thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment