From ace876cdd66dc79be1c3a763bd2865dd88e723e7 Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sun, 6 Sep 2020 12:29:32 -0400 Subject: [PATCH] Fix incorrect/unused macro zend_ts_hash_init accepts 4 arguments, not 5. The pHashFunction parameter was removed in 5d2576264653c2faaca9cd7d64218d10ab612408 Closes GH-6087 --- Zend/zend_ts_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_ts_hash.h b/Zend/zend_ts_hash.h index 51801e4e05..d1b41b1d6f 100644 --- a/Zend/zend_ts_hash.h +++ b/Zend/zend_ts_hash.h @@ -128,6 +128,6 @@ END_EXTERN_C() ZEND_TS_INIT_SYMTABLE_EX(ht, 2, 0) #define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \ - zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent) + zend_ts_hash_init(ht, n, ZVAL_PTR_DTOR, persistent) #endif /* ZEND_HASH_H */ -- 2.40.0