|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62933 ext/intl compilation error on icu 3.4.1
Submitted: 2012-08-26 10:03 UTC Modified: 2012-08-26 20:04 UTC
From: glen at delfi dot ee Assigned: cataphract (profile)
Status: Closed Package: intl (PECL)
PHP Version: 5.4.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
47 - 29 = ?
Subscribe to this entry?

 [2012-08-26 10:03 UTC] glen at delfi dot ee
i posted to bug that originally introduced this
id=60392 - but seems old bugs are not tracked, so opening new bug

 [2012-08-23 21:07 UTC] glen at delfi dot ee
similarily to this U_IDNA_ZERO_LENGTH_LABEL_ERROR is not present in icu 3.4

funny is, that this error did not appear with php 5.3 because it was "protected" 
by U_IDNA_PROHIBITED_ERROR ifdef, which this commit made it broken:


intl-icu-const.patch (last revision 2012-08-26 10:04 UTC by glen at delfi dot ee)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-26 10:21 UTC]
-Assigned To: +Assigned To: cataphract
 [2012-08-26 20:04 UTC]
-Status: Assigned +Status: Closed
 [2012-08-26 20:04 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.

Fixed. Note your patch is incorrect because the symbol U_IDNA_ZERO_LENGTH_LABEL_ERROR is an enum constant, not a preprocessor variable. So basically the #if would evaluate to false all the time.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 06:01:29 2023 UTC