Skip to content

Commit ace876c

Browse files
committed
Fix incorrect/unused macro
zend_ts_hash_init accepts 4 arguments, not 5. The pHashFunction parameter was removed in 5d25762 Closes GH-6087
1 parent 1fc961e commit ace876c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_ts_hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ END_EXTERN_C()
128128
ZEND_TS_INIT_SYMTABLE_EX(ht, 2, 0)
129129

130130
#define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \
131-
zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
131+
zend_ts_hash_init(ht, n, ZVAL_PTR_DTOR, persistent)
132132

133133
#endif /* ZEND_HASH_H */

0 commit comments

Comments
 (0)