From: Dmitry Stogov Date: Tue, 22 Sep 2009 07:54:06 +0000 (+0000) Subject: Fixed ext/spl/tests/arrayObject_magicMethods2.phpt X-Git-Tag: php-5.4.0alpha1~191^2~2619 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eedc39f4f3287ad2f44707d76406a7a46ee206ff;p=php Fixed ext/spl/tests/arrayObject_magicMethods2.phpt --- diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 25d53ad590..94b092f8c4 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;