-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Description
Feature request
A exception thrown is swallowed when the finally block contains a return.
I would expect a error regarding the thrown exception will be swallowed by the php runtime.
today we debugged a class and realized that our exceptions won't get thrown because of such a "finally-return".. its really suprising
https://3v4l.org/OiVkG#v7.4.23
https://phpstan.org/r/8685c7b2-5a0e-4fbb-9e46-dfcca31559b1
Reactions are currently unavailable