diff options
Diffstat (limited to 'zend/value.cpp')
-rw-r--r-- | zend/value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/value.cpp b/zend/value.cpp index 228b810..4a59d97 100644 --- a/zend/value.cpp +++ b/zend/value.cpp @@ -1698,7 +1698,7 @@ void Value::unset(const char *key, int size) SEPARATE_ZVAL_IF_NOT_REF(&_val); // remove the index - zend_hash_del(Z_ARRVAL_P(_val), key, size); + zend_hash_del(Z_ARRVAL_P(_val), key, size + 1); } } |