In this tutorial, you shall learn about different topics of Exception Handling in PHP, with the help of example programs.

PHP Exception Handling

In PHP, when something exceptional happens that compiler cannot handle, or user explicitly throws an exception, the program execution required exception handling.

The following tutorials cover some of the basic exception handling statements provided in PHP and also the most general use cases that occur when handling exceptions.