From da36a7c24979653f78ae1ff97c7e2a010aebf186 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Tue, 10 Feb 2004 15:30:32 +0000 Subject: [PATCH] Fix bug #26869 --- Zend/zend_execute_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 09cd8dc5b4..99a6d25a0b 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -463,7 +463,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC) switch (const_value.type) { case IS_STRING: - zend_hash_update(p->value.ht, const_value.value.str.val, const_value.value.str.len+1, &new_val, sizeof(zval *), NULL); + zend_symtable_update(p->value.ht, const_value.value.str.val, const_value.value.str.len+1, &new_val, sizeof(zval *), NULL); break; case IS_LONG: zend_hash_index_update(p->value.ht, const_value.value.lval, &new_val, sizeof(zval *), NULL); -- 2.40.0