]> granicus.if.org Git - php/commitdiff
- Temporary fix for "this". Have to fix it tomorrow.
authorAndi Gutmans <andi@php.net>
Mon, 26 Jul 1999 19:24:54 +0000 (19:24 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 26 Jul 1999 19:24:54 +0000 (19:24 +0000)
Zend/zend_execute.c

index 6dc976c19e921eec943644a5be850ebda4b85294..a1c77bdb5900dc87856ac9c3ffafb9c3ed7dca63 100644 (file)
@@ -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;
                                                }