From: [email protected] 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
