cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Sun, 31 Aug 2003 15:47:48 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1771@lists.php.net to get a copy of this message | ||
helly Sun Aug 31 11:47:48 2003 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Don't repeat first const count(consts) time
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.44 ZendEngine2/zend_reflection_api.c:1.45
--- ZendEngine2/zend_reflection_api.c:1.44 Sun Aug 31 11:30:13 2003
+++ ZendEngine2/zend_reflection_api.c Sun Aug 31 11:47:48 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.44 2003/08/31 15:30:13 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.45 2003/08/31 15:47:48 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_default_classes.h"
@@ -264,7 +264,7 @@
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,