Sarah Anderson

2930 days ago

Rewriting my old code with these in place. Removes the need for constant checks or exits all over the place!

PHP Exception Handling

w3schools.com

Exceptions are used to change the normal flow of a script if a specified error occurs. With PHP 5 came a new object oriented way of dealing with errors.