]> granicus.if.org Git - php/commitdiff
- WS
authorMarcus Boerger <helly@php.net>
Sun, 22 Jan 2006 22:15:55 +0000 (22:15 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 22 Jan 2006 22:15:55 +0000 (22:15 +0000)
Zend/zend_execute_API.c

index bbd2bd44aec98b1ad7e181eb4fe0524d16f1796d..c801e199fdb689a6dce0e75abb3c90e97efd2959 100644 (file)
@@ -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);