mirror of
https://github.com/Respect/Validation.git
synced 2024-06-02 05:42:16 +02:00
6173757f63
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.
29 lines
660 B
PHP
29 lines
660 B
PHP
<?php
|
||
return [
|
||
"country" => "Libya",
|
||
"subdivisions" => [
|
||
"BA" => "Banghāzī",
|
||
"BU" => "Al Buţnān",
|
||
"DR" => "Darnah",
|
||
"GT" => "Ghāt",
|
||
"JA" => "Al Jabal al Akhḑar",
|
||
"JG" => "Al Jabal al Gharbī",
|
||
"JI" => "Al Jafārah",
|
||
"JU" => "Al Jufrah",
|
||
"KF" => "Al Kufrah",
|
||
"MB" => "Al Marqab",
|
||
"MI" => "Mişrātah",
|
||
"MJ" => "Al Marj",
|
||
"MQ" => "Murzuq",
|
||
"NL" => "Nālūt",
|
||
"NQ" => "An Nuqāţ al Khams",
|
||
"SB" => "Sabhā",
|
||
"SR" => "Surt",
|
||
"TB" => "Ţarābulus",
|
||
"WA" => "Al Wāḩāt",
|
||
"WD" => "Wādī al Ḩayāt",
|
||
"WS" => "Wādī ash Shāţi’",
|
||
"ZA" => "Az Zāwiyah"
|
||
]
|
||
];
|