php.net |  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: pajoye@php.net 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
 [2008-08-24 12:11 UTC] pajoye@php.net
Description:
------------
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:
---------------
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
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]
=====================================================================



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-08 23:01 UTC] stas@php.net
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
http://snaps.php.net/.
 
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC