|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45902 ext/intl/tests fail with ICU 3.8.x
Submitted: 2008-08-24 12:11 UTC Modified: 2008-09-08 23:01 UTC
From: Assigned: stas (profile)
Status: Closed Package: I18N and L10N related
PHP Version: 5.3CVS-2008-08-24 (snap) OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2008-08-24 12:11 UTC]
Tests fail with ICU 3.8.x (x86 or x64, win or linux). As 3.8 is the recommended version for 5.3+, the tests should be fixed with 3.8+.

Reproduce code:
datefmt_format_code() [ext/intl/tests/dateformat_format.phpt]
datefmt_format_code() and datefmt_parse_code() [ext/intl/tests/dateformat_format_parse.phpt]
datefmt_localtime_code() [ext/intl/tests/dateformat_localtime.phpt]
datefmt_parse_code() [ext/intl/tests/dateformat_parse.phpt]
datefmt_parse_localtime() with parse pos [ext/intl/tests/dateformat_parse_localtime_parsepos.phpt]
datefmt_parse_timestamp_code()  with parse pos [ext/intl/tests/dateformat_parse_timestamp_parsepos.phpt]
numfmt_format() [ext/intl/tests/formatter_format.phpt]
numfmt_format_currency() [ext/intl/tests/formatter_format_currency.phpt]
numfmt_get_locale() [ext/intl/tests/formatter_get_locale.phpt]
numfmt_get/set_pattern() [ext/intl/tests/formatter_get_set_pattern.phpt]
locale_get_display_language() [ext/intl/tests/locale_get_display_language.phpt]
locale_get_display_name() [ext/intl/tests/locale_get_display_name.phpt]
locale_get_display_region() [ext/intl/tests/locale_get_display_region.phpt]
locale_get_display_variant() [ext/intl/tests/locale_get_display_variant.phpt]


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-08 23:01 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Should be fine now with both 3.6 and 3.8. Failures caused mainly by changes in localized data. 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 13:03:45 2023 UTC