Browse Source

Fix bug #26869

PEAR_1_4DEV
Zeev Suraski 23 years ago
parent
commit
da36a7c249
  1. 2
      Zend/zend_execute_API.c

2
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);

Loading…
Cancel
Save