From: Remi Collet Date: Tue, 22 Aug 2017 10:55:13 +0000 (+0200) Subject: timelib now have a function for this, use it X-Git-Tag: php-7.2.0RC1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4792750a56e02d6f385192823dd3e6f0f5a9bcc;p=php timelib now have a function for this, use it --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 0277297e9f..dd90ba3ad5 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -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);