summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-01-22 22:15:55 +0000
committerMarcus Boerger <helly@php.net>2006-01-22 22:15:55 +0000
commitb7d473ac0014eb94abe8dadef86a25ca9fef6846 (patch)
tree598e09b7406eb797c71d062c298c97a4b3b4eea0
parent693c5ad27fe70ba43c9733fce4722fca94b5f50d (diff)
downloadphp-git-b7d473ac0014eb94abe8dadef86a25ca9fef6846.tar.gz
- WS
-rw-r--r--Zend/zend_execute_API.c12
1 files changed, 6 insertions, 6 deletions
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);