News for hackers. Stuff that matters.
Re:Modern PHP by hu3 on Monday March 28, 2022 @12:49PM (#30832541)
For what is worth Laravel, which is PHP's most popular framework, throws an Exception:

https://github.com/laravel/framework/blob/master/src/Illumin...

For other frameworks, you can convert warnings into exceptions with 3 lines by implementing a custom error handler.

There are no comments on this comment yet.