php.net |  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: kalle@php.net 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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kalle@php.net
New email:
PHP Version: OS:

 

 [2009-06-03 17:17 UTC] kalle@php.net
Description:
------------
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:
---------------
print_r(get_defined_constants());

Expected result:
----------------
See Actual result, output without unicode garbage

Actual result:
--------------
http://pastie.org/499080

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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

Sorry about the wait, and disappointment.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 13:01:28 2024 UTC