mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Fix another HANDLE_NUMERIC bug. Looks like you opened Pandora's box, Sterling ;)
This commit is contained in:
parent
4f3e52ac1b
commit
55097d1dcf
@ -2644,7 +2644,7 @@ void zend_do_add_static_array_element(znode *result, znode *offset, znode *expr)
|
||||
element->type |= IS_CONSTANT_INDEX;
|
||||
/* break missing intentionally */
|
||||
case IS_STRING:
|
||||
zend_hash_update(result->u.constant.value.ht, offset->u.constant.value.str.val, offset->u.constant.value.str.len+1, &element, sizeof(zval *), NULL);
|
||||
zend_symtable_update(result->u.constant.value.ht, offset->u.constant.value.str.val, offset->u.constant.value.str.len+1, &element, sizeof(zval *), NULL);
|
||||
zval_dtor(&offset->u.constant);
|
||||
break;
|
||||
case IS_LONG:
|
||||
|
Loading…
Reference in New Issue
Block a user