diff --git a/Zend/zend_attributes.c b/Zend/zend_attributes.c index 9f7b8f01448..433586f55f0 100644 --- a/Zend/zend_attributes.c +++ b/Zend/zend_attributes.c @@ -109,7 +109,7 @@ ZEND_METHOD(SensitiveParameterValue, __construct) Z_PARAM_ZVAL(value) ZEND_PARSE_PARAMETERS_END(); - ZVAL_COPY(OBJ_PROP_NUM(Z_OBJ_P(ZEND_THIS), 0), value); + zend_update_property(zend_ce_sensitive_parameter_value, Z_OBJ_P(ZEND_THIS), "value", strlen("value"), value); } ZEND_METHOD(SensitiveParameterValue, getValue)