[php-src] PR #16439: zend_weakrefs: Add `zend_weakrefs_hash_(clean|destroy)()`

From: Date: Mon, 14 Oct 2024 15:35:45 +0000
Subject: [php-src] PR #16439: zend_weakrefs: Add `zend_weakrefs_hash_(clean|destroy)()`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29237@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16439 Author: TimWolla These are equivalent to zend_hash_clean() and zend_hash_destroy() respectively, but take care of correctly unregistering the weak references to the keys. This addition rounds off the weakmap functionality added in 471102edcd19c79be2541188ae8a211a2cbc85bb by taking one possible footgun away from the user.

« previous php.git-pulls (#29237) next »