Fixed ext/spl/tests/arrayObject_magicMethods2.phpt

This commit is contained in:
Dmitry Stogov 2009-09-22 07:54:06 +00:00
parent f532a81aea
commit eedc39f4f3

View File

@ -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;