DEV Community

Programming Dive
Programming Dive

Posted on

Handle Exception in PHP

Runtime Errors or Exception
Runtime Errors OR exceptions mainly occurs when there is an unexpected result while executing the programs. To handle Exception in PHP, we need to make some changes in the code itself to make sure that next time if such errors occur then the program itself, understands it, and operates on it effectively.

An exception was introduced in PHP5 and later it was redesign with many fixes consecutive beta versions

https://programmingdive.com/handle-exception-in-php/

Top comments (0)