显示下拉菜单

timezone_identifiers_list()

« timezone_abbreviations_list | timezone_location_get »
<?php
$array 
timezone_identifiers_list (
    
?// [int $what = DateTimeZone::ALL]
    
?  // [string $country = NULL]
);
?>
结果
$array = [
  
=> 'Europe/Paris',
]
示例
#1 timezone_identifiers_list  (DateTimeZone::AFRICA)
#2 timezone_identifiers_list  (DateTimeZone::PER_COUNTRY,
 
"FR")
另请参阅
DateTimeZone::listIdentifiers