[php-src] Issue #9799: compatibility with ICU 72.1
| From: | andypost | Date: | Fri, 21 Oct 2022 13:06:52 +0000 |
| Subject: | [php-src] Issue #9799: compatibility with ICU 72.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242653@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9799
Author: andypost
### Description
The following tests are failed for 8.0/8.1/8.2:
```
FAILED TEST SUMMARY
---------------------------------------------------------------------
IntlDateFormatter, calendars and time zone [ext/intl/tests/dateformat_calendars_variant3.phpt]
IntlDateFormatter::formatObject(): IntlCalendar tests
[ext/intl/tests/dateformat_formatObject_calendar_variant5.phpt]
IntlDateFormatter::formatObject(): DateTime tests
[ext/intl/tests/dateformat_formatObject_datetime_variant5.phpt]
datefmt_format_code() and datefmt_parse_code()
[ext/intl/tests/dateformat_format_parse_version2.phpt]
datefmt_set_timezone_id_code() icu >= 4.8 [ext/intl/tests/dateformat_set_timezone_id3.phpt]
MessageFormatter::format(): DateTime accepted to format dates and times
[ext/intl/tests/msgfmt_format_datetime.phpt]
MessageFormatter::format(): simple types handling with numeric strings
[ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt]
ResourceBundle constructor bundle accepts NULL for first two arguments
[ext/intl/tests/resourcebundle_null_mandatory_args_variant2.phpt]
```
Alpinelinux started upgrade to new ICU and faced with this failures, see https://gitlab.alpinelinux.org/alpine/aports/-/issues/14283
### PHP Version
PHP 8.1.11
### Operating System
Alpinelinux