Fix another HANDLE_NUMERIC bug. Looks like you opened Pandora's box, Sterling ;)

This commit is contained in:
Zeev Suraski 2003-07-24 13:14:57 +00:00
parent 4f3e52ac1b
commit 55097d1dcf

View File

@ -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: