What is exception handling in PHP

Posted by Prem Tiwari | Updated on | in 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 …