-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
PHP 8.0 introduced zend_hash_release() in php/php-src@d3eeeb6. This function considers refcounts and immutability, and should be preferred to calling zend_hash_destroy() followed by FREE_HASHTABLE().
This came up in mongodb/mongo-php-driver#1850 for PHPC-2505.
- is related to
-
PHPC-2505 gc_collect_cycles() may interfere with using foreach to iterate objects
-
- In Code Review
-