#48463 [NEW]: Strange unicode output for internal "main" constants
| From: | kalle@php.net | Date: | Wed, 03 Jun 2009 17:17:57 +0000 |
| Subject: | #48463 [NEW]: Strange unicode output for internal "main" constants | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-138015@lists.php.net to get a copy of this message | ||
From: kalle@php.net
Operating system: Windows
PHP version: 6CVS-2009-06-03 (CVS)
PHP Bug Type: Unicode Engine related
Bug description: Strange unicode output for internal "main" constants
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 bug report at http://bugs.php.net/?id=48463&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48463&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48463&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48463&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48463&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48463&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48463&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48463&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48463&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48463&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48463&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48463&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48463&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48463&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48463&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48463&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48463&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48463&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48463&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48463&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48463&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48463&r=mysqlcfg