From fe0fbdc5b646c3ffa827e45a03db8a8da4dc7bb5 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Mon, 26 Jul 1999 19:24:54 +0000 Subject: [PATCH] - Temporary fix for "this". Have to fix it tomorrow. --- Zend/zend_execute.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 6dc976c19e..a1c77bdb59 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1413,6 +1413,7 @@ do_fcall_common: zend_hash_update_ptr(function_state.function_symbol_table, "this", sizeof("this"), NULL, sizeof(zval *), (void **) &this_ptr); *this_ptr = object_ptr; + object_ptr->EA.is_ref=1; object_ptr->refcount++; object_ptr = NULL; } -- 2.40.0