PHP Exception Handling - W3Schools NET PHP SQL tutorials, references, examples for web building. ... Exceptions are used to change the normal flow of a script if a specified error occurs.