Woops, fix.
authorZeev Suraski <zeev@php.net>
Sat, 10 Jul 1999 12:44:56 +0000 (12:44 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 10 Jul 1999 12:44:56 +0000 (12:44 +0000)
Zend/zend_execute_API.c

index 5832e531995b23be843170bba77512ed59045943..aba813d3014a9df056bce8f1dda7e01898324bd3 100644 (file)
@@ -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;