summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-10-16 23:17:58 +0000
committerAndi Gutmans <andi@php.net>2004-10-16 23:17:58 +0000
commitf2c7379ca7faba66b64f1e10e6ffae21c8f51be3 (patch)
tree8f948cb1f0507e9b0d83e3fa87975b39962f0ceb
parent30ff6d2836f78f03bb0d36adb20751f1a326adcb (diff)
downloadphp-git-f2c7379ca7faba66b64f1e10e6ffae21c8f51be3.tar.gz
- One more test (WS)
-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 e660a32364..af5ac78f23 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1944,7 +1944,7 @@ static zend_bool do_inherit_property_access_check(HashTable *target_ht, zend_pro
/* Explicitly copy the default value from the parent (if it has one) */
zval **pvalue;
- if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue)==SUCCESS) {
+ if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue) == SUCCESS) {
(*pvalue)->refcount++;
zend_hash_del(&ce->default_properties, child_info->name, child_info->name_length+1);
zend_hash_quick_update(&ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, pvalue, sizeof(zval *), NULL);