Skip to content

Commit dcc8ea8

Browse files
committed
write_property value may not be REF
1 parent 90cfd7a commit dcc8ea8

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
@@ -808,7 +808,7 @@ ZEND_API zval *zend_std_write_property(zval *object, zval *member, zval *value,
808808
}
809809

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

0 commit comments

Comments
 (0)