Sitepoint published an interesting Crash Course of Changes to Exception Handling in PHP7, which talk about the two new classes introduced in PHP7 to assist a developer in handling errors with ease. Before the introduction of these classes in PHP 7, exception error classes were written to handle the different types of errors.

If you are using a PHP version older than 7, you should keep these things in mind before transitioning.

1477909265trap

Read the article here

LEAVE A REPLY

Please enter your comment!
Please enter your name here