From: Tyson Andre Date: Sun, 6 Sep 2020 16:29:32 +0000 (-0400) Subject: Fix incorrect/unused macro X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ace876cdd66dc79be1c3a763bd2865dd88e723e7;p=php Fix incorrect/unused macro zend_ts_hash_init accepts 4 arguments, not 5. The pHashFunction parameter was removed in 5d2576264653c2faaca9cd7d64218d10ab612408 Closes GH-6087 --- 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 */