PHP масив графств Великобританії
Сніппет
Групований список британських графств по країнах:
<?php
$counties = [
'England' => [
'Avon',
'Bedfordshire',
'Berkshire',
'Buckinghamshire',
'Cambridgeshire',
'Cheshire',
'Cleveland',
'Cornwall',
'Cumbria',
'Derbyshire',
'Devon',
'Dorset',
'Durham',
'East Sussex',
'Essex',
'Gloucestershire',
'Hampshire',
'Herefordshire',
'Hertfordshire',
'Isle of Wight',
'Kent',
'Lancashire',
'Leicestershire',
'Lincolnshire',
'London',
'Merseyside',
'Middlesex',
'Norfolk',
'Northamptonshire',
'Northumberland',
'North Humberside',
'North Yorkshire',
'Nottinghamshire',
'Oxfordshire',
'Rutland',
'Shropshire',
'Somerset',
'South Humberside',
'South Yorkshire',
'Staffordshire',
'Suffolk',
'Surrey',
'Tyne and Wear',
'Warwickshire',
'West Midlands',
'West Sussex',
'West Yorkshire',
'Wiltshire',
'Worcestershire'
],
'Wales' => [
'Clwyd',
'Dyfed',
'Gwent',
'Gwynedd',
'Mid Glamorgan',
'Powys',
'South Glamorgan',
'West Glamorgan'
],
'Scotland' => [
'Aberdeenshire',
'Angus',
'Argyll',
'Ayrshire',
'Banffshire',
'Berwickshire',
'Bute',
'Caithness',
'Clackmannanshire',
'Dumfriesshire',
'Dunbartonshire',
'East Lothian',
'Fife',
'Inverness-shire',
'Kincardineshire',
'Kinross-shire',
'Kirkcudbrightshire',
'Lanarkshire',
'Midlothian',
'Moray',
'Nairnshire',
'Orkney',
'Peeblesshire',
'Perthshire',
'Renfrewshire',
'Ross-shire',
'Roxburghshire',
'Selkirkshire',
'Shetland',
'Stirlingshire',
'Sutherland',
'West Lothian',
'Wigtownshire'
],
'Northern Ireland' => [
'Antrim',
'Armagh',
'Down',
'Fermanagh',
'Londonderry',
'Tyrone'
]
];
Масив округів Великобританії:
<?php
$counties = [
'Avon',
'Bedfordshire',
'Berkshire',
'Buckinghamshire',
'Cambridgeshire',
'Cheshire',
'Cleveland',
'Cornwall',
'Cumbria',
'Derbyshire',
'Devon',
'Dorset',
'Durham',
'East Sussex',
'Essex',
'Gloucestershire',
'Hampshire',
'Herefordshire',
'Hertfordshire',
'Isle of Wight',
'Kent',
'Lancashire',
'Leicestershire',
'Lincolnshire',
'London',
'Merseyside',
'Middlesex',
'Norfolk',
'Northamptonshire',
'Northumberland',
'North Humberside',
'North Yorkshire',
'Nottinghamshire',
'Oxfordshire',
'Rutland',
'Shropshire',
'Somerset',
'South Humberside',
'South Yorkshire',
'Staffordshire',
'Suffolk',
'Surrey',
'Tyne and Wear',
'Warwickshire',
'West Midlands',
'West Sussex',
'West Yorkshire',
'Wiltshire',
'Worcestershire',
'Clwyd',
'Dyfed',
'Gwent',
'Gwynedd',
'Mid Glamorgan',
'Powys',
'South Glamorgan',
'West Glamorgan',
'Aberdeenshire',
'Angus',
'Argyll',
'Ayrshire',
'Banffshire',
'Berwickshire',
'Bute',
'Caithness',
'Clackmannanshire',
'Dumfriesshire',
'Dunbartonshire',
'East Lothian',
'Fife',
'Inverness-shire',
'Kincardineshire',
'Kinross-shire',
'Kirkcudbrightshire',
'Lanarkshire',
'Midlothian',
'Moray',
'Nairnshire',
'Orkney',
'Peeblesshire',
'Perthshire',
'Renfrewshire',
'Ross-shire',
'Roxburghshire',
'Selkirkshire',
'Shetland',
'Stirlingshire',
'Sutherland',
'West Lothian',
'Wigtownshire',
'Antrim',
'Armagh',
'Down',
'Fermanagh',
'Londonderry',
'Tyrone'
];