RFC: throw expression

Project Governance
Author
Target
8.0
Since in PHP throw is a statement it makes it impossible to throw exceptions in places where only expressions are allowed, like arrow functions, the coalesce op...

Would you like to convert the throw statement into an expression?

Overall Results

Yes
No
Yes
46 Votes (94%)
No
3 Votes (6%)

Voting Timeline

Dates based on UTC

Voting Breakdown