Skip to content

Deprecate returning from a finally block#22509

Draft
aldemeery wants to merge 1 commit into
php:masterfrom
aldemeery:deprecate-return-in-finally
Draft

Deprecate returning from a finally block#22509
aldemeery wants to merge 1 commit into
php:masterfrom
aldemeery:deprecate-return-in-finally

Conversation

@aldemeery

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants