diff options
| author | Remi Collet <remi@php.net> | 2017-08-22 12:55:13 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2017-08-22 12:55:13 +0200 |
| commit | f4792750a56e02d6f385192823dd3e6f0f5a9bcc (patch) | |
| tree | ae48cdc1b4b671dd784459e3f4216f15fb69ff7e | |
| parent | 3fff74aab5e41195cded72ca705de015abfd710a (diff) | |
| download | php-git-f4792750a56e02d6f385192823dd3e6f0f5a9bcc.tar.gz | |
timelib now have a function for this, use it
| -rw-r--r-- | ext/date/php_date.c | 3 |
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); |
