ArrayofcountrylistinPHPwithZendFramework
2023-06-13 09:14:30 时间
publicstaticfunctioncountryList($local)
{
$locale=newZend_Locale("en_US");
$countries=($locale->getTranslationList("Territory",$local,2));
asort($countries,SORT_LOCALE_STRING);
$countries=array_combine($countries,$countries);
return$countries;
}