PHP массив стран ЕС

Сниппет

Аббревиатуры и названия стран ЕС в виде PHP массива:

downloadcopy
$countries = [
    'AT' => 'Austria',
    'BE' => 'Belgium',
    'BG' => 'Bulgaria',
    'CY' => 'Cyprus',
    'CZ' => 'Czech Republic',
    'DE' => 'Germany',
    'DK' => 'Denmark',
    'EE' => 'Estonia',
    'ES' => 'Spain',
    'FI' => 'Finland',
    'FR' => 'France',
    'GB' => 'United Kingdom',
    'GR' => 'Greece',
    'HU' => 'Hungary',
    'HR' => 'Croatia',
    'IE' => 'Ireland, Republic of (EIRE)',
    'IT' => 'Italy',
    'LT' => 'Lithuania',
    'LU' => 'Luxembourg',
    'LV' => 'Latvia',
    'MT' => 'Malta',
    'NL' => 'Netherlands',
    'PL' => 'Poland',
    'PT' => 'Portugal',
    'RO' => 'Romania',
    'SE' => 'Sweden',
    'SI' => 'Slovenia',
    'SK' => 'Slovakia',
];

Или:

downloadcopy
$countries = [
    ['code'=>'AT','name' => 'Austria'],
    ['code'=>'BE','name' => 'Belgium'],
    ['code'=>'BG','name' => 'Bulgaria'],
    ['code'=>'CY','name' => 'Cyprus'],
    ['code'=>'CZ','name' => 'Czech Republic'],
    ['code'=>'DE','name' => 'Germany'],
    ['code'=>'DK','name' => 'Denmark'],
    ['code'=>'EE','name' => 'Estonia'],
    ['code'=>'ES','name' => 'Spain'],
    ['code'=>'FI','name' => 'Finland'],
    ['code'=>'FR','name' => 'France'],
    ['code'=>'GB','name' => 'United Kingdom'],
    ['code'=>'GR','name' => 'Greece'],
    ['code'=>'HU','name' => 'Hungary'],
    ['code'=>'HR','name' => 'Croatia'],
    ['code'=>'IE','name' => 'Ireland, Republic of (EIRE)'],
    ['code'=>'IT','name' => 'Italy'],
    ['code'=>'LT','name' => 'Lithuania'],
    ['code'=>'LU','name' => 'Luxembourg'],
    ['code'=>'LV','name' => 'Latvia'],
    ['code'=>'MT','name' => 'Malta'],
    ['code'=>'NL','name' => 'Netherlands'],
    ['code'=>'PL','name' => 'Poland'],
    ['code'=>'PT','name' => 'Portugal'],
    ['code'=>'RO','name' => 'Romania'],
    ['code'=>'SE','name' => 'Sweden'],
    ['code'=>'SI','name' => 'Slovenia'],
    ['code'=>'SK','name' => 'Slovakia'],
];

Аббревиатуры стран ЕС в виде PHP массива:

downloadcopy
$countries = ['AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HU', 'HR', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK'];

Названия стран ЕС в виде PHP массива:

downloadcopy
$countries = [
    'Austria',
    'Belgium',
    'Bulgaria',
    'Cyprus',
    'Czech Republic',
    'Germany',
    'Denmark',
    'Estonia',
    'Spain',
    'Finland',
    'France',
    'United Kingdom',
    'Greece',
    'Hungary',
    'Croatia',
    'Ireland, Republic of (EIRE)',
    'Italy',
    'Lithuania',
    'Luxembourg',
    'Latvia',
    'Malta',
    'Netherlands',
    'Poland',
    'Portugal',
    'Romania',
    'Sweden',
    'Slovenia',
    'Slovakia',
];