#48463 [Opn->Asn]: Strange unicode output for internal "main" constants
| From: | felipe@php.net | Date: | Sat, 25 Jul 2009 02:05:32 +0000 |
| Subject: | #48463 [Opn->Asn]: Strange unicode output for internal "main" constants | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140227@lists.php.net to get a copy of this message | ||
ID: 48463
Updated by: felipe@php.net
Reported By: kalle@php.net
-Status: Open
+Status: Assigned
Bug Type: Unicode Engine related
Operating System: Windows
PHP Version: 6CVS-2009-06-03 (CVS)
Assigned To: andrei
Previous Comments:
------------------------------------------------------------------------
[2009-06-03 17:17:56] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48463&edit=1