Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  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:57 +08:00
commit 01701912c7

View file

@ -2444,7 +2444,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++;