]> granicus.if.org Git - php/commitdiff
Fix incorrect/unused macro
authorTyson Andre <tysonandre775@hotmail.com>
Sun, 6 Sep 2020 16:29:32 +0000 (12:29 -0400)
committerTyson Andre <tysonandre775@hotmail.com>
Sun, 6 Sep 2020 17:05:02 +0000 (13:05 -0400)
zend_ts_hash_init accepts 4 arguments, not 5.
The pHashFunction parameter was removed in 5d2576264653c2faaca9cd7d64218d10ab612408

Closes GH-6087

Zend/zend_ts_hash.h

index 51801e4e05f174ab5c76ca14348ac0c7b62e6800..d1b41b1d6f678f8b36b837c352b9746657c86895 100644 (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 */