mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Fix print_flat_hash for objects
This commit is contained in:
parent
bdeeddbb80
commit
0ade00c844
@ -196,7 +196,7 @@ static void print_flat_hash(HashTable *ht TSRMLS_DC) /* {{{ */
|
||||
ulong num_key;
|
||||
int i = 0;
|
||||
|
||||
ZEND_HASH_FOREACH_KEY_VAL(ht, num_key, string_key, tmp) {
|
||||
ZEND_HASH_FOREACH_KEY_VAL_IND(ht, num_key, string_key, tmp) {
|
||||
if (i++ > 0) {
|
||||
ZEND_PUTS(",");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user