Skip to content

Instantly share code, notes, and snippets.

@scottsweb
Last active November 21, 2022 00:44
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 scottsweb/5300345 to your computer and use it in GitHub Desktop.
Save scottsweb/5300345 to your computer and use it in GitHub Desktop.
An array of EU country codes.
<?php
$eu_countries = array(
"AT" => "Austria",
"BE" => "Belgium",
"BG" => "Bulgaria",
"HR" => "Croatia",
"CY" => "Cyprus",
"CZ" => "Czech Republic",
"DK" => "Denmark",
"EE" => "Estonia",
"FI" => "Finland",
"FR" => "France",
"DE" => "Germany",
"GR" => "Greece",
"HU" => "Hungary",
"IE" => "Ireland",
"IT" => "Italy",
"LV" => "Latvia",
"LT" => "Lithuania",
"LU" => "Luxembourg",
"MT" => "Malta",
"NL" => "Netherlands",
"PL" => "Poland",
"PT" => "Portugal",
"RO" => "Romania",
"SK" => "Slovakia (Slovak Republic)",
"SI" => "Slovenia",
"ES" => "Spain",
"SE" => "Sweden",
"RD" => "Local IP" // added for testing purposes
);
@hugowan
Copy link

hugowan commented Jul 3, 2018

missing Croatia(HR)

@amityweb
Copy link

amityweb commented Apr 8, 2021

Remove GB

@scottsweb
Copy link
Author

@amityweb and @hugowan. Updated.

@keiron77
Copy link

Remove GB

Brexit means Brexit

@lukasplevko
Copy link

Many thanks for this...

@gelinger777
Copy link

Greece in some cases , for example EU Soap requests can be referenced as EL instead of GR .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment