From: Marcus Boerger Date: Sun, 22 Jan 2006 22:15:55 +0000 (+0000) Subject: - WS X-Git-Tag: RELEASE_0_9_4~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7d473ac0014eb94abe8dadef86a25ca9fef6846;p=php - WS --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index bbd2bd44ae..c801e199fd 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -504,12 +504,12 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC) } else { if (const_value.type == IS_STRING && const_value.value.str.len == str_index_len-1 && - !strncmp(const_value.value.str.val, str_index, str_index_len)) { - /* constant value is the same as its name */ - zval_dtor(&const_value); - zend_hash_move_forward(p->value.ht); - continue; - } + !strncmp(const_value.value.str.val, str_index, str_index_len)) { + /* constant value is the same as its name */ + zval_dtor(&const_value); + zend_hash_move_forward(p->value.ht); + continue; + } } ALLOC_ZVAL(new_val);