diff options
author | Felipe Pena <felipe@php.net> | 2009-03-05 16:49:47 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-03-05 16:49:47 +0000 |
commit | 2bc612bc0cb324320cb232a2561510907caf8270 (patch) | |
tree | 4b5b72a4d40e5c227e42b7a1e73767cded6f6250 /Zend/zend_execute_API.c | |
parent | c43b935b65628ed48c504ca2c06ed0ada8da9355 (diff) | |
download | php-git-2bc612bc0cb324320cb232a2561510907caf8270.tar.gz |
- Fixed typo
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index f0f823719b..7e3bce21d8 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -575,7 +575,7 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco } else if (Z_TYPE_P(p) == IS_CONSTANT_ARRAY) { zval **element, *new_val; char *str_index; - uint str_index_len = 0; + uint str_index_len; ulong num_index; int ret; @@ -615,8 +615,8 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco if (str_index[str_index_len - 2] & IS_CONSTANT_UNQUALIFIED) { if ((actual = (char *)zend_memrchr(str_index, '\\', str_index_len - 3))) { actual++; - str_index_len -= (actual - str_index); - str_index = save; + str_index_len -= (actual - str_index); + str_index = actual; } } if (str_index[0] == '\\') { |