RFC: Allow throwing exceptions from __toString()

Project Governance
Author
Target
7.4
Throwing exceptions from __toString() is currently forbidden and will result in a fatal error. This makes it dangerous to call arbitrary code inside __toString(...

Allow exceptions from __toString() in PHP 7.4?

Overall Results

Yes
No
Yes
42 Votes (100%)
No
0 Votes (0%)

Voting Timeline

Dates based on UTC

Voting Breakdown