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 /ext/reflection/php_reflection.c | |
parent | 660c14e74a7e4f5196590b0ebb6bdf05ac8c6716 (diff) | |
download | php-git-4506d4ea241600e676d16538dc54e39ff38671e9.tar.gz |
Don't repeat first const count(consts) time
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 42747800a0..3629b582ab 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.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, |