diff options
| author | Andi Gutmans <andi@php.net> | 2002-09-15 07:41:23 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2002-09-15 07:41:23 +0000 |
| commit | fcc0ce7eec7288c3dd875d45f6d957b5b4b0b288 (patch) | |
| tree | b124ce29d4561a02793f7f841a4f3ee9b4b5f761 /Zend/zend_execute_API.c | |
| parent | 26e6252e4325005be1524025b8d39f3889199a8e (diff) | |
| download | php-git-fcc0ce7eec7288c3dd875d45f6d957b5b4b0b288.tar.gz | |
- WS
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index a17d70aa45..4ccb9dd56c 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -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); |
