diff options
Diffstat (limited to 'Zend/zend_closures.c')
-rw-r--r-- | Zend/zend_closures.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c index 2e4e103fb5..c3c2ae3b3a 100644 --- a/Zend/zend_closures.c +++ b/Zend/zend_closures.c @@ -503,8 +503,7 @@ static HashTable *zend_closure_get_debug_info(zval *object, int *is_temp) /* {{{ *is_temp = 1; - ALLOC_HASHTABLE(debug_info); - zend_hash_init(debug_info, 8, NULL, ZVAL_PTR_DTOR, 0); + debug_info = zend_new_array(8); if (closure->func.type == ZEND_USER_FUNCTION && closure->func.op_array.static_variables) { HashTable *static_variables = closure->func.op_array.static_variables; |