summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2020-09-06 12:29:32 -0400
committerTyson Andre <tysonandre775@hotmail.com>2020-09-06 13:05:02 -0400
commitace876cdd66dc79be1c3a763bd2865dd88e723e7 (patch)
tree44de6b469de6d28178f33ccfc379f2189d29391c
parent1fc961e2de866ad426ce83dae760605599934673 (diff)
downloadphp-git-ace876cdd66dc79be1c3a763bd2865dd88e723e7.tar.gz
Fix incorrect/unused macro
zend_ts_hash_init accepts 4 arguments, not 5. The pHashFunction parameter was removed in 5d2576264653c2faaca9cd7d64218d10ab612408 Closes GH-6087
-rw-r--r--Zend/zend_ts_hash.h2
1 files changed, 1 insertions, 1 deletions
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 */