summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-07-24 13:14:57 +0000
committerZeev Suraski <zeev@php.net>2003-07-24 13:14:57 +0000
commit55097d1dcf6eee94413dc2795f923c0ef9f45d3f (patch)
treecfd863c4f5de34d717c83bad9fdc67dd1373fbb8
parent4f3e52ac1b0b06a59d576ba480a8224500b2351b (diff)
downloadphp-git-55097d1dcf6eee94413dc2795f923c0ef9f45d3f.tar.gz
Fix another HANDLE_NUMERIC bug. Looks like you opened Pandora's box, Sterling ;)
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 2fdda5aa4e..c1641c31ab 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -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: