mirror of
https://github.com/php/php-src.git
synced 2025-01-09 12:34:14 +08:00
Fixed ext/spl/tests/arrayObject_magicMethods2.phpt
This commit is contained in:
parent
f532a81aea
commit
eedc39f4f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user