summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/php_date.c3
1 files changed, 1 insertions, 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);