Fixed bug #72936 (Zend API's zend_symtable_str_update() asserts key should end with '\0')

This commit is contained in:
Xinchen Hui 2016-08-29 00:10:31 +08:00
parent 8fcfacf746
commit 986d0f87ec

View file

@ -2465,7 +2465,6 @@ ZEND_API int ZEND_FASTCALL _zend_handle_numeric_str_ex(const char *key, size_t l
register const char *tmp = key;
const char *end = key + length;
ZEND_ASSERT(*end == '\0');
if (*tmp == '-') {
tmp++;