From: [EMAIL PROTECTED] Operating system: PHP version: 5.3CVS-2008-11-06 (CVS) PHP Bug Type: Scripting Engine problem Bug description: opcode modification/minor constant refactor in namespace implementation
Description: ------------ in ZEND_FETCH_CONSTANT opcode handler, the opcode is modified, which is a big no-no. In addition, 1 and 2 is used in zend_resolve_non_class_name() instead of named #define constants. This patch fixes those 2 issues: http://pear.php.net/~greg/fix_ns1.patch.txt -- Edit bug report at http://bugs.php.net/?id=46500&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46500&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46500&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46500&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46500&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46500&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46500&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46500&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46500&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46500&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46500&r=support Expected behavior: http://bugs.php.net/fix.php?id=46500&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46500&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46500&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46500&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46500&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46500&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46500&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46500&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46500&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46500&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46500&r=mysqlcfg