cvs: ZendEngine2(PHP_5_3) / zend_compile.c /tests ns_054.phpt
| From: | Dmitry Stogov | Date: | Fri, 09 Nov 2007 12:15:41 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_3) / zend_compile.c /tests ns_054.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-6141@lists.php.net to get a copy of this message | ||
dmitry Fri Nov 9 12:15:41 2007 UTC
Added files: (Branch: PHP_5_3)
/ZendEngine2/tests ns_054.phpt
Modified files:
/ZendEngine2 zend_compile.c
Log:
Fixed implementation of internal interfaces in namesapces
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.647.2.27.2.41.2.15&r2=1.647.2.27.2.41.2.16&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.15
ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.16
--- ZendEngine2/zend_compile.c:1.647.2.27.2.41.2.15 Wed Nov 7 09:09:21 2007
+++ ZendEngine2/zend_compile.c Fri Nov 9 12:15:41 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.15 2007/11/07 09:09:21 dmitry Exp $ */
+/* $Id: zend_compile.c,v 1.647.2.27.2.41.2.16 2007/11/09 12:15:41 dmitry Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -3136,7 +3136,7 @@
if (CG(active_op_array)->last > 0) {
opline = &CG(active_op_array)->opcodes[CG(active_op_array)->last-1];
if (opline->opcode == ZEND_FETCH_CLASS) {
- opline->extended_value = ZEND_FETCH_CLASS_INTERFACE;
+ opline->extended_value = (opline->extended_value & ~ZEND_FETCH_CLASS_MASK) |
ZEND_FETCH_CLASS_INTERFACE;
}
}
break;
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/ns_054.phpt?view=markup&rev=1.1
Index: ZendEngine2/tests/ns_054.phpt
+++ ZendEngine2/tests/ns_054.phpt