What is exception handling in PHP

Prem Tiwari - - PHP Tutorial


Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception. An exception can be thrown, and caught (“catched”) within …