diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2020-09-06 12:29:32 -0400 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2020-09-06 13:05:02 -0400 |
commit | ace876cdd66dc79be1c3a763bd2865dd88e723e7 (patch) | |
tree | 44de6b469de6d28178f33ccfc379f2189d29391c | |
parent | 1fc961e2de866ad426ce83dae760605599934673 (diff) | |
download | php-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.h | 2 |
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 */ |