PHP - Error and Exception Handling
You want to handle both
Error and Exception in PHP to prevent your script from stopping unexpectedly. Which approach is best?