summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-02-12 16:38:47 +0000
committerMarcus Boerger <helly@php.net>2005-02-12 16:38:47 +0000
commit6159f690233d1e4a3179a1892c6a3db5ff43de0a (patch)
treede1a12885b77a0372fec55c7dd43436b2749362f /Zend/zend_execute_API.c
parent9e31b10531938ec5879d5b8d94b92885a4ffb714 (diff)
downloadphp-git-6159f690233d1e4a3179a1892c6a3db5ff43de0a.tar.gz
- Bugfix #30682 (autoconversion from false/true to 0/1 missing in case of
static property default value)
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 8af362d422..85919fde93 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -498,6 +498,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;