September 2001
Intermediate to advanced
768 pages
32h 45m
English
Error handling is the process of changing the control flow of a program in response to error conditions. Error conditions can be caused by a variety of factors—programmer error, corrupt input data, software requirements deficiencies, errors in supporting applications and libraries, network outages, hardware errors, and so on.
A robust web application needs to be able to gracefully handle all of these potential problems—recovering from them where possible and exiting gracefully when the error is fatal. In PHP 3, there were a few simple features and functions that controlled the display and logging of errors.
With the release of PHP 4, error handling in PHP has become much more robust. The most notable feature ...
Read now
Unlock full access