What is exception handling in PHP

By: Prem Tiwari | Last Updated: | 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 …