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 9a1a5db..6890ffd 100644 --- a/zend/value.cpp +++ b/zend/value.cpp @@ -1942,7 +1942,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); } } |