Browse Source

- Temporary fix for "this". Have to fix it tomorrow.

experimetnal/RETURN_REF_PATCH
Andi Gutmans 27 years ago
parent
commit
fe0fbdc5b6
  1. 1
      Zend/zend_execute.c

1
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;
}

Loading…
Cancel
Save