[php-src] PR #21835: Fix GH-21831: Defer removals during SplObjectStorage::removeAllExcept()

From: Date: Thu, 23 Apr 2026 07:38:56 +0000
Subject: [php-src] PR #21835: Fix GH-21831: Defer removals during SplObjectStorage::removeAllExcept()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35838@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21835 Author: prateekbhujel Fixes GH-21831. SplObjectStorage::removeAllExcept() may detach from the storage while a custom getHash() implementation is still able to re-enter and mutate that same storage. Defer those removals until after the scan finishes so the iteration stays stable.

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