[php-src] PR #22509: Deprecate returning from a finally block
| From: | aldemeery | Date: | Mon, 29 Jun 2026 10:54:23 +0000 |
| Subject: | [php-src] PR #22509: Deprecate returning from a finally block | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36728@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22509
Author: aldemeery
Draft implementation of the "return inside finally" deprecation from the PHP 8.6
deprecations RFC: https://wiki.php.net/rfc/deprecations_php_8_6#deprecate_returning_from_a_finally_block
I am opening this as a draft so CI can run against the patch and the implementation has a place to
live.
Please hold off on reviewing it for now. It depends on the deprecation vote passing, and I will
close it if the vote does not carry. Once the vote passes I will mark it ready for review and ask
for feedback.
Flagging this early so nobody spends time on it before it is ready.