]> granicus.if.org Git - php/commitdiff
- WS
authorAndi Gutmans <andi@php.net>
Sun, 15 Sep 2002 07:41:23 +0000 (07:41 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 15 Sep 2002 07:41:23 +0000 (07:41 +0000)
Zend/zend_execute_API.c

index a17d70aa45b73287c963c7776f302e647f7a8165..4ccb9dd56c1c55130cb154a4723b8765f2353479 100644 (file)
@@ -418,8 +418,7 @@ ZEND_API int zval_update_constant(zval **pp, void *arg TSRMLS_DC)
                                continue;
                        }
                        
-                       if(const_value.type == IS_STRING &&
-                          const_value.value.str.len == str_index_len-1 &&
+                       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);