diff options
| author | Marcus Boerger <helly@php.net> | 2003-08-31 15:47:48 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2003-08-31 15:47:48 +0000 |
| commit | 4506d4ea241600e676d16538dc54e39ff38671e9 (patch) | |
| tree | 97a1dafe8f0baa76764f24957d3f90593d02ce33 /Zend/zend_reflection_api.c | |
| parent | 660c14e74a7e4f5196590b0ebb6bdf05ac8c6716 (diff) | |
| download | php-git-4506d4ea241600e676d16538dc54e39ff38671e9.tar.gz | |
Don't repeat first const count(consts) time
Diffstat (limited to 'Zend/zend_reflection_api.c')
| -rw-r--r-- | Zend/zend_reflection_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 42747800a0..3629b582ab 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -264,7 +264,7 @@ static void _class_string(string *str, zend_class_entry *ce, char *indent TSRMLS zend_hash_internal_pointer_reset_ex(&ce->constants_table, &pos); while (zend_hash_get_current_data_ex(&ce->constants_table, (void **) &value, &pos) == SUCCESS) { - zend_hash_get_current_key_ex(&ce->constants_table, &key, &key_len, &num_index, 0, NULL); + zend_hash_get_current_key_ex(&ce->constants_table, &key, &key_len, &num_index, 0, &pos); string_printf(str, "%s Constant [ %s %s ] { }\n", indent, |
