|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48463 Strange unicode output for internal "main" constants
Submitted: 2009-06-03 17:17 UTC Modified: 2015-02-18 07:49 UTC
From: Assigned: andrei (profile)
Status: Wont fix Package: Unicode Engine related
PHP Version: 6CVS-2009-06-03 (CVS) OS: Windows
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
26 - 20 = ?
Subscribe to this entry?

 [2009-06-03 17:17 UTC]
Internal "main" registered constants, (constants with module_number = 0, Core) have weird behaviour when they are fetched from get_defined_constants(), this could suggest that its either get_defined_constants() or something generally wrong with these constants and Unicode. See the actual result output for the unicode garbage thats returned.

Reproduce code:

Expected result:
See Actual result, output without unicode garbage

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-18 07:49 UTC]
-Status: Assigned +Status: Wont fix
 [2015-02-18 07:49 UTC]
Since the 6 branch has been abandoned, I'm marking this as won't fix ...

Just trying to do housework on, this report can still be found for reference.

Sorry about the wait, and disappointment.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 19 23:03:34 2022 UTC