All pastes #920986 Raw Edit

Simple patch to solve http://pas

public diff v1 · immutable
#920986 ·published 2008-02-27 19:13 UTC
rendered paste body
diff -Naur php6.0-200802251530\Zend\zend_vm_execute.h php6.0-200802251530.mod\Zend\zend_vm_execute.h--- php6.0-200802251530\Zend\zend_vm_execute.h  2008-02-27 19:13:41.812500000 +0000+++ php6.0-200802251530.mod\Zend\zend_vm_execute.h      2008-02-27 19:00:26.640625000 +0000@@ -69,7 +69,7 @@                ZEND_VM_SET_OPCODE(op_array->opcodes);        }-       if (op_array->uses_this && EG(This)) {+       if (EG(This)) {                Z_ADDREF_P(EG(This)); /* For $this pointer */                if (zend_ascii_hash_add(EG(active_symbol_table), "this", sizeof("this"), &EG(This), sizeof(zval *), NULL)==FAILURE) {                        Z_DELREF_P(EG(This));