mirror of
https://github.com/Respect/Validation.git
synced 2024-06-10 01:32:15 +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.
35 lines
735 B
PHP
35 lines
735 B
PHP
<?php
|
|
return [
|
|
"country" => "Bulgaria",
|
|
"subdivisions" => [
|
|
"01" => "Blagoevgrad",
|
|
"02" => "Burgas",
|
|
"03" => "Varna",
|
|
"04" => "Veliko Tarnovo",
|
|
"05" => "Vidin",
|
|
"06" => "Vratsa",
|
|
"07" => "Gabrovo",
|
|
"08" => "Dobrich",
|
|
"09" => "Kardzhali",
|
|
"10" => "Kyustendil",
|
|
"11" => "Lovech",
|
|
"12" => "Montana",
|
|
"13" => "Pazardzhik",
|
|
"14" => "Pernik",
|
|
"15" => "Pleven",
|
|
"16" => "Plovdiv",
|
|
"17" => "Razgrad",
|
|
"18" => "Ruse",
|
|
"19" => "Silistra",
|
|
"20" => "Sliven",
|
|
"21" => "Smolyan",
|
|
"22" => "Sofia (stolitsa)",
|
|
"23" => "Sofia",
|
|
"24" => "Stara Zagora",
|
|
"25" => "Targovishte",
|
|
"26" => "Haskovo",
|
|
"27" => "Shumen",
|
|
"28" => "Yambol"
|
|
]
|
|
];
|