add comment

This commit is contained in:
Stanislav Malyshev 2002-10-10 10:07:22 +00:00
parent 98ad93fb6d
commit f45d2f9225

View File

@ -215,6 +215,7 @@ static void zend_std_write_property(zval *object, zval *member, zval *value TSRM
to the same pointer */
if (PZVAL_IS_REF(*variable_ptr)) {
zval_dtor(*variable_ptr); /* old value should be destroyed */
/* To check: can't *variable_ptr be some system variable like error_zval here? */
(*variable_ptr)->type = value->type;
(*variable_ptr)->value = value->value;
zval_copy_ctor(*variable_ptr);