diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 7d3d1d739e113..170abc95e3575 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -4481,7 +4481,7 @@ PHP_FUNCTION(timezone_identifiers_list) const timelib_tzdb *tzdb; const timelib_tzdb_index_entry *table; int i, item_count; - long what = PHP_DATE_TIMEZONE_GROUP_ALL; + long what = PHP_DATE_TIMEZONE_GROUP_ALL_W_BC; char *option = NULL; int option_len = 0; diff --git a/ext/date/tests/bug64560.phpt b/ext/date/tests/bug64560.phpt new file mode 100644 index 0000000000000..e9762bde91827 --- /dev/null +++ b/ext/date/tests/bug64560.phpt @@ -0,0 +1,9 @@ +--TEST-- +Test for bug #64560: timezones missing from DateTimeZone::listIdentifiers() +--CREDITS-- +Boro Sitnikovski +--FILE-- +