[php-src] PR #20716: Fix uncatchable exception thrown in generator

From: Date: Mon, 15 Dec 2025 22:49:11 +0000
Subject: [php-src] PR #20716: Fix uncatchable exception thrown in generator
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34296@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20716 Author: iluuu1994 This procedure may be called during i_free_compiled_variables(), when EG(current_execute_data) is unfortunately already reset to the parent frame. EG(opline_before_exception) does not actually belong to this frame. Furthermore, setting opline to EG(exception_op) early will miss a later zend_rethrow_exception(), which will also miss installation of the correct EG(opline_before_exception). Fixes GH-20714

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