summaryrefslogtreecommitdiff
path: root/ext/opcache/Optimizer/sccp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/Optimizer/sccp.c')
-rw-r--r--ext/opcache/Optimizer/sccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c
index 5f5f7da3d8..23c5d5ac53 100644
--- a/ext/opcache/Optimizer/sccp.c
+++ b/ext/opcache/Optimizer/sccp.c
@@ -547,7 +547,7 @@ static inline int ct_eval_assign_dim(zval *result, zval *value, zval *key) {
value_str = zval_get_string(value);
ZVAL_STR(result, new_str);
Z_STRVAL_P(result)[index] = ZSTR_VAL(value_str)[0];
- zend_string_release(value_str);
+ zend_string_release_ex(value_str, 0);
#endif
return FAILURE;
default: