Fix incorrect/unused macro

zend_ts_hash_init accepts 4 arguments, not 5.
The pHashFunction parameter was removed in 5d25762646

Closes GH-6087
This commit is contained in:
Tyson Andre 2020-09-06 12:29:32 -04:00
parent 1fc961e2de
commit ace876cdd6

View file

@ -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 */