|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62925 some issues while --enable-intl
Submitted: 2012-08-24 15:15 UTC Modified: 2012-08-26 20:08 UTC
From: Assigned: cataphract (profile)
Status: Closed Package: I18N and L10N related
PHP Version: Irrelevant 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:


 [2012-08-24 15:15 UTC]
1. php-trunk branch build failed:
 source/trunk/ext/intl/dateformat/dateformat_format_object.cpp -o 
pp:42: error: ‘kFullRelative’ is not a member of ‘icu_3_6::DateFormat’
pp:43: error: ‘kLongRelative’ is not a member of ‘icu_3_6::DateFormat’
pp:44: error: ‘kMediumRelative’ is not a member of ‘icu_3_6::DateFormat’

2. coding standard:
I am not sure, whether the c99 comment is okey, and no footer in source codes

3. test failed , in 5.4-zts, there are some tests failed

Bug #62082: Memory corruption in internal get_icu_disp_value_src_php() 
Cloning datefmt icu <= 4.2 [ext/intl/tests/dateformat_clone.phpt]
datefmt_get_pattern_code and datefmt_set_pattern_code() icu <= 4.2 
datefmt_set_timezone_id_code() icu <= 4.2 
numfmt_format() icu <= 4.2 [ext/intl/tests/formatter_format.phpt]
numfmt_format_currency() icu <= 4.2 
numfmt_get/set_attribute() [ext/intl/tests/formatter_get_set_attribute.phpt]
grapheme() [ext/intl/tests/grapheme.phpt]

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-24 15:15 UTC]
-Assigned To: +Assigned To: cataphract
 [2012-08-24 15:15 UTC]
Cataphract, please look at this. thanks
 [2012-08-24 15:19 UTC]
$ icu-config --version
 [2012-08-24 16:54 UTC]
php-master raises the minimum ICU version to 4.0 (see UPGRADING).

It's possible that ICU 4.0 has some test failures (it's difficult to write stable tests because the underlying data changes frequently), but it should at least compile.
 [2012-08-25 01:34 UTC]
Then I think it should be denied in configure ?
 [2012-08-26 20:08 UTC]
-Status: Assigned +Status: Closed
 [2012-08-26 20:08 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

Changed configure in 8831b00
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Dec 04 02:03:36 2021 UTC