diff --git a/zend_tombs_strings.c b/zend_tombs_strings.c index 7b84cb0..ae75a27 100644 --- a/zend_tombs_strings.c +++ b/zend_tombs_strings.c @@ -103,7 +103,6 @@ static zend_always_inline zend_tombs_string_t* zend_tombs_strings_copy(zend_stri ZSTR_VAL(string), ZSTR_LEN(string)); - copy->value[ZSTR_LEN(string)] = 0; copy->hash = ZSTR_HASH(string); __atomic_store_n(©->length, ZSTR_LEN(string), __ATOMIC_SEQ_CST);