[php-src] PR #24268: Fix GH-24264: Unwind/GracefulExit discarded in spl_iterators.c

From: Date: Mon, 12 Oct 2026 03:57:38 +0000
Subject: [php-src] PR #24268: Fix GH-24264: Unwind/GracefulExit discarded in spl_iterators.c
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39348@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24268 Author: lazerg With CATCH_GET_CHILD, RecursiveIteratorIterator and RecursiveCachingIterator call zend_clear_exception() on any exception thrown by hasChildren(), getChildren(), beginChildren() and friends. That also swallows the unwind exit from exit() and the graceful exit used when destroying fibers, so the script keeps running. These exceptions are now passed through as if CATCH_GET_CHILD was not set. Fixes #24264

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