respect-validation/data/iso_3166-2/RO.php
Alexandre Gomes Gaigalas 6173757f63 Use PHP files and setup a runtime cache for CountryInfo
Previously, we were loading country info from a JSON file. This
changes it to use PHP files instead. It also caches these resources
across calls avoiding these files to be loaded more than once
per process.
2023-02-19 00:19:10 -03:00

49 lines
1 KiB
PHP

<?php
return [
"country" => "Romania",
"subdivisions" => [
"AB" => "Alba",
"AG" => "Argeș",
"AR" => "Arad",
"B" => "București",
"BC" => "Bacău",
"BH" => "Bihor",
"BN" => "Bistrița-Năsăud",
"BR" => "Brăila",
"BT" => "Botoșani",
"BV" => "Brașov",
"BZ" => "Buzău",
"CJ" => "Cluj",
"CL" => "Călărași",
"CS" => "Caraș-Severin",
"CT" => "Constanța",
"CV" => "Covasna",
"DB" => "Dâmbovița",
"DJ" => "Dolj",
"GJ" => "Gorj",
"GL" => "Galați",
"GR" => "Giurgiu",
"HD" => "Hunedoara",
"HR" => "Harghita",
"IF" => "Ilfov",
"IL" => "Ialomița",
"IS" => "Iași",
"MH" => "Mehedinți",
"MM" => "Maramureș",
"MS" => "Mureș",
"NT" => "Neamț",
"OT" => "Olt",
"PH" => "Prahova",
"SB" => "Sibiu",
"SJ" => "Sălaj",
"SM" => "Satu Mare",
"SV" => "Suceava",
"TL" => "Tulcea",
"TM" => "Timiș",
"TR" => "Teleorman",
"VL" => "Vâlcea",
"VN" => "Vrancea",
"VS" => "Vaslui"
]
];