PHP and Errors
PHP4 does not have an exception-handling mechanism.
PHP4 programs may not terminate on errors
- continue execution (e.g. with 0 or "" value)
- possibly produce some warning/error messages
- probably produce incorrect results
Your code must anticipate and deal with errors.
In particular, beware of uninitialized variables
(e.g. globals in functions)
|