From: Zeev Suraski Date: Sat, 10 Jul 1999 12:44:56 +0000 (+0000) Subject: Woops, fix. X-Git-Tag: php-4.0b1~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc933fc50beab329d028c852f6f87a9d826fcff0;p=php Woops, fix. --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 5832e53199..aba813d301 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -430,7 +430,8 @@ ZEND_API inline void zend_assign_to_variable_reference(znode *result, zval **var zendi_zval_copy_ctor(*value_ptr); } value_ptr->refcount = 1; - INIT_PZVAL(value_ptr); + value_ptr->EA.is_ref = 1; + value_ptr->EA.locks = 0; } *variable_ptr_ptr = value_ptr;