php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58130 pecl/intl Some tests failing on 64bit
Submitted: 2008-03-30 00:25 UTC Modified: 2008-04-08 13:08 UTC
From: kirtig at yahoo-inc dot com Assigned:
Status: Closed Package: intl (PECL)
PHP Version: 5_3 CVS-2008-03-30 (dev) OS: RHEL 64-bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kirtig at yahoo-inc dot com
New email:
PHP Version: OS:

 

 [2008-03-30 00:25 UTC] kirtig at yahoo-inc dot com
Description:
------------
Some of the tests failing on the 64-bit RHEL system.
Notes - 
1)pecl/intl : 5.2 branch 3/29/2008 CVS code
2)../configure --enable-intl --enable-debug --enable-maintainer-zts

Expected result:
----------------
All tests passing

Actual result:
--------------
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
create() [/php53/ext/intl/tests/collator_create.phpt]
get_locale() [/php53/ext/intl/tests/collator_get_locale.phpt]
datefmt_format_code() [/php53/ext/intl/tests/dateformat_format.phpt]
datefmt_localtime_code() [/php53/ext/intl/tests/dateformat_localtime.phpt]
datefmt_parse_code() [/php53/ext/intl/tests/dateformat_parse.phpt]
datefmt_parse_localtime() with parse pos [/php53/ext/intl/tests/dateformat_parse_localtime_parsepos.phpt]
datefmt_parse_timestamp_code()  with parse pos [/php53/ext/intl/tests/dateformat_parse_timestamp_parsepos.phpt]
numfmt_format() [/php53/ext/intl/tests/formatter_format.phpt]
numfmt_format_currency() [/php53/ext/intl/tests/formatter_format_currency.phpt]
numfmt_get_locale() [/php53/ext/intl/tests/formatter_get_locale.phpt]
numfmt_get/set_text_attribute() [/php53/ext/intl/tests/formatter_get_set_text_attribute.phpt]
normalize() [/php53/ext/intl/tests/normalizer_normalize.phpt]
=====================================================================


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-02 04:50 UTC] v_chenshifu at hisoft dot com
It's same at my 64-bit machine,it looks like most(or all) cases at other not-en-locales will fail.
 [2008-04-08 04:23 UTC] pierre dot php at gmail dot com
The tests result:

http://blog.thepimp.net/misc/intl_test_fail.tar.gz

On ubuntu 32bit running on a amdx2 64bit and intl PHP_5_2 cvs
 [2008-04-08 13:08 UTC] stas at zend dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

I've fixed the 64-bit issues, however on different ICU versions some tests may still fail, since locale names and formats keep changing - adding space there, changing capitalization here, etc. I'm not sure how to deal with such things yet... Anyway, the basic function should be OK on 64-bit now.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 20:01:24 2020 UTC