From f4792750a56e02d6f385192823dd3e6f0f5a9bcc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 22 Aug 2017 12:55:13 +0200 Subject: [PATCH] timelib now have a function for this, use it --- ext/date/php_date.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.50.1