respect-validation/data/iso_3166-2/PH.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

105 lines
2.9 KiB
PHP

<?php
return [
"country" => "Philippines",
"subdivisions" => [
"00" => "National Capital Region",
"01" => "Ilocos (Region I)",
"02" => "Cagayan Valley (Region II)",
"03" => "Central Luzon (Region III)",
"05" => "Bicol (Region V)",
"06" => "Western Visayas (Region VI)",
"07" => "Central Visayas (Region VII)",
"08" => "Eastern Visayas (Region VIII)",
"09" => "Zamboanga Peninsula (Region IX)",
"10" => "Northern Mindanao (Region X)",
"11" => "Davao (Region XI)",
"12" => "Soccsksargen (Region XII)",
"13" => "Caraga (Region XIII)",
"14" => "Autonomous Region in Muslim Mindanao (ARMM)",
"15" => "Cordillera Administrative Region (CAR)",
"40" => "Calabarzon (Region IV-A)",
"41" => "Mimaropa (Region IV-B)",
"ABR" => "Abra",
"AGN" => "Agusan del Norte",
"AGS" => "Agusan del Sur",
"AKL" => "Aklan",
"ALB" => "Albay",
"ANT" => "Antique",
"APA" => "Apayao",
"AUR" => "Aurora",
"BAN" => "Bataan",
"BAS" => "Basilan",
"BEN" => "Benguet",
"BIL" => "Biliran",
"BOH" => "Bohol",
"BTG" => "Batangas",
"BTN" => "Batanes",
"BUK" => "Bukidnon",
"BUL" => "Bulacan",
"CAG" => "Cagayan",
"CAM" => "Camiguin",
"CAN" => "Camarines Norte",
"CAP" => "Capiz",
"CAS" => "Camarines Sur",
"CAT" => "Catanduanes",
"CAV" => "Cavite",
"CEB" => "Cebu",
"COM" => "Davao de Oro",
"DAO" => "Davao Oriental",
"DAS" => "Davao del Sur",
"DAV" => "Davao del Norte",
"DIN" => "Dinagat Islands",
"DVO" => "Davao Occidental",
"EAS" => "Eastern Samar",
"GUI" => "Guimaras",
"IFU" => "Ifugao",
"ILI" => "Iloilo",
"ILN" => "Ilocos Norte",
"ILS" => "Ilocos Sur",
"ISA" => "Isabela",
"KAL" => "Kalinga",
"LAG" => "Laguna",
"LAN" => "Lanao del Norte",
"LAS" => "Lanao del Sur",
"LEY" => "Leyte",
"LUN" => "La Union",
"MAD" => "Marinduque",
"MAG" => "Maguindanao",
"MAS" => "Masbate",
"MDC" => "Mindoro Occidental",
"MDR" => "Mindoro Oriental",
"MOU" => "Mountain Province",
"MSC" => "Misamis Occidental",
"MSR" => "Misamis Oriental",
"NCO" => "Cotabato",
"NEC" => "Negros Occidental",
"NER" => "Negros Oriental",
"NSA" => "Northern Samar",
"NUE" => "Nueva Ecija",
"NUV" => "Nueva Vizcaya",
"PAM" => "Pampanga",
"PAN" => "Pangasinan",
"PLW" => "Palawan",
"QUE" => "Quezon",
"QUI" => "Quirino",
"RIZ" => "Rizal",
"ROM" => "Romblon",
"SAR" => "Sarangani",
"SCO" => "South Cotabato",
"SIG" => "Siquijor",
"SLE" => "Southern Leyte",
"SLU" => "Sulu",
"SOR" => "Sorsogon",
"SUK" => "Sultan Kudarat",
"SUN" => "Surigao del Norte",
"SUR" => "Surigao del Sur",
"TAR" => "Tarlac",
"TAW" => "Tawi-Tawi",
"WSA" => "Samar",
"ZAN" => "Zamboanga del Norte",
"ZAS" => "Zamboanga del Sur",
"ZMB" => "Zambales",
"ZSI" => "Zamboanga Sibugay"
]
];