Laravel and PHP Try-Catch: Exceptions VS Errors?

Try-catch is a typical PHP/Laravel way to process the exceptions. But how do you handle PHP errors? Or, do you? Let me show you a few examples. Related links: - PHP Documentation of Error class: - My course “SOLID Code in Laravel“: - - - - - Support the channel by checking out our products: - Enroll in my Laravel courses: - Try our Laravel QuickAdminPanel: - Purchase my Livewire Kit: - View Laravel Code Examples: - Subscribe to my weekly newsletter:
Back to Top