php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46500 opcode modification/minor constant refactor in namespace implementation
Submitted: 2008-11-06 04:33 UTC Modified: 2008-12-15 13:51 UTC
From: cellog@php.net Assigned: stas (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5.3CVS-2008-11-11 OS: *
Private report: No CVE-ID: None
 [2008-11-06 04:33 UTC] cellog@php.net
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-15 13:51 UTC] stas@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

I think new code fixes it, please reopen if it's still a problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 08:01:30 2024 UTC