3 ms·
For what is worth Laravel, which is PHP's most popular framework, throws an Exception: https://github.com/laravel/framework/blob/master/src/Illuminate/Foundati
by hu3 5y ago
For what is worth Laravel, which is PHP's most popular framework, throws an Exception:
https://github.com/laravel/framework/blob/master/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php#L75 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.