]> granicus.if.org Git - php/commitdiff
- MFH
authorMarcus Boerger <helly@php.net>
Sat, 12 Feb 2005 16:39:31 +0000 (16:39 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 12 Feb 2005 16:39:31 +0000 (16:39 +0000)
Zend/zend_execute_API.c

index b6a78844d511f9da5f3fddee3f64370c26918d40..307fa2d545850b16836e9688af4758b361d128ff 100644 (file)
@@ -499,6 +499,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC)
                                case IS_STRING:
                                        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_BOOL:
                                case IS_LONG:
                                        zend_hash_index_update(p->value.ht, const_value.value.lval, &new_val, sizeof(zval *), NULL);
                                        break;