Skip to content

Commit a9d8198

Browse files
author
Derick Rethans
committed
- MFZE1
1 parent 5b9a26d commit a9d8198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int
208208
ZEND_PUTS("Array\n");
209209
if (++expr->value.ht->nApplyCount>1) {
210210
ZEND_PUTS(" *RECURSION*");
211-
expr->value.ht->nApplyCount=0;
211+
expr->value.ht->nApplyCount--;
212212
return;
213213
}
214214
print_hash(expr->value.ht, indent);
@@ -220,7 +220,7 @@ ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int
220220

221221
if (++object->properties->nApplyCount>1) {
222222
ZEND_PUTS(" *RECURSION*");
223-
object->properties->nApplyCount=0;
223+
object->properties->nApplyCount--;
224224
return;
225225
}
226226
zend_printf("%s Object\n", object->ce->name);

0 commit comments

Comments
 (0)