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

23 lines
511 B
PHP

<?php
return [
"country" => "Malaysia",
"subdivisions" => [
"01" => "Johor",
"02" => "Kedah",
"03" => "Kelantan",
"04" => "Melaka",
"05" => "Negeri Sembilan",
"06" => "Pahang",
"07" => "Pulau Pinang",
"08" => "Perak",
"09" => "Perlis",
"10" => "Selangor",
"11" => "Terengganu",
"12" => "Sabah",
"13" => "Sarawak",
"14" => "Wilayah Persekutuan Kuala Lumpur",
"15" => "Wilayah Persekutuan Labuan",
"16" => "Wilayah Persekutuan Putrajaya"
]
];