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.
55 lines
1.2 KiB
PHP
55 lines
1.2 KiB
PHP
<?php
|
|
return [
|
|
"country" => "Algeria",
|
|
"subdivisions" => [
|
|
"01" => "Adrar",
|
|
"02" => "Chlef",
|
|
"03" => "Laghouat",
|
|
"04" => "Oum el Bouaghi",
|
|
"05" => "Batna",
|
|
"06" => "Béjaïa",
|
|
"07" => "Biskra",
|
|
"08" => "Béchar",
|
|
"09" => "Blida",
|
|
"10" => "Bouira",
|
|
"11" => "Tamanrasset",
|
|
"12" => "Tébessa",
|
|
"13" => "Tlemcen",
|
|
"14" => "Tiaret",
|
|
"15" => "Tizi Ouzou",
|
|
"16" => "Alger",
|
|
"17" => "Djelfa",
|
|
"18" => "Jijel",
|
|
"19" => "Sétif",
|
|
"20" => "Saïda",
|
|
"21" => "Skikda",
|
|
"22" => "Sidi Bel Abbès",
|
|
"23" => "Annaba",
|
|
"24" => "Guelma",
|
|
"25" => "Constantine",
|
|
"26" => "Médéa",
|
|
"27" => "Mostaganem",
|
|
"28" => "M'sila",
|
|
"29" => "Mascara",
|
|
"30" => "Ouargla",
|
|
"31" => "Oran",
|
|
"32" => "El Bayadh",
|
|
"33" => "Illizi",
|
|
"34" => "Bordj Bou Arréridj",
|
|
"35" => "Boumerdès",
|
|
"36" => "El Tarf",
|
|
"37" => "Tindouf",
|
|
"38" => "Tissemsilt",
|
|
"39" => "El Oued",
|
|
"40" => "Khenchela",
|
|
"41" => "Souk Ahras",
|
|
"42" => "Tipaza",
|
|
"43" => "Mila",
|
|
"44" => "Aïn Defla",
|
|
"45" => "Naama",
|
|
"46" => "Aïn Témouchent",
|
|
"47" => "Ghardaïa",
|
|
"48" => "Relizane"
|
|
]
|
|
];
|