Skip to content

Commit

Permalink
#1259 - Change SEPARATE_ARRAY to SEPARATE_ZVAL
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 20, 2021
1 parent 0ca7737 commit 7cd41f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernels/ZendEngine3/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ int ZEPHIR_FASTCALL zephir_array_unset_string(zval *arr, const char *index, uint
}

if ((flags & PH_SEPARATE) == PH_SEPARATE) {
SEPARATE_ARRAY(arr);
SEPARATE_ZVAL(arr);
}

return zend_hash_str_del(Z_ARRVAL_P(arr), index, index_length);
Expand Down

0 comments on commit 7cd41f6

Please sign in to comment.