|  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
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.
Bug Type:
From: glen at delfi dot ee
New email:
PHP Version: OS:


 [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: Tue Dec 05 09:01:27 2023 UTC