From eedc39f4f3287ad2f44707d76406a7a46ee206ff Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 22 Sep 2009 07:54:06 +0000 Subject: [PATCH] Fixed ext/spl/tests/arrayObject_magicMethods2.phpt --- ext/spl/spl_array.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 25d53ad5906..94b092f8c46 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -703,6 +703,7 @@ static HashTable* spl_array_get_debug_info(zval *obj, int *is_temp TSRMLS_DC) /* } if (intern->debug_info->nApplyCount == 0) { + zend_hash_clean(intern->debug_info); zend_hash_copy(intern->debug_info, intern->std.properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); storage = intern->array;