Skip to content

Commit f2a3d6b

Browse files
committed
write_property value may not be REF
1 parent ee5ffbb commit f2a3d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_object_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ ZEND_API zval *zend_std_write_property(zval *object, zval *member, zval *value,
807807
}
808808

809809
found:
810-
zend_assign_to_variable(variable_ptr, value, IS_VAR, EG(current_execute_data) && ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data)));
810+
zend_assign_to_variable(variable_ptr, value, IS_TMP_VAR, EG(current_execute_data) && ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data)));
811811
goto exit;
812812
}
813813
} else if (EXPECTED(IS_DYNAMIC_PROPERTY_OFFSET(property_offset))) {

0 commit comments

Comments
 (0)