mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
timelib now have a function for this, use it
This commit is contained in:
parent
3fff74aab5
commit
f4792750a5
@ -4723,8 +4723,7 @@ PHP_FUNCTION(timezone_identifiers_list)
|
||||
}
|
||||
|
||||
tzdb = DATE_TIMEZONEDB;
|
||||
item_count = tzdb->index_size;
|
||||
table = tzdb->index;
|
||||
table = timelib_timezone_identifiers_list(tzdb, &item_count);
|
||||
|
||||
array_init(return_value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user