Error-handling in PHP
Articles in this category focuses on error- and exception handling in PHP. Traditionally, errors could only be triggered using the trigger_error function, and by using the relevant E_USER.* types, but exceptions are now more suitable for most purposes.
The articles will also discuss specific errors caused by coding problems, and how these errors might be solved.
It is important to note that "notices" and "warnings" are not really considered errors, since these typically allow the script to continue executing, and also since they might be intentionally caused by developers. The fact that they may be triggered using trigger_error, and this function happen to contain "error" in its name, does not make them errors; it could be that the developer just intends to inform a user that they are using a library in an unintended manner.
Most often, errors are not intentional, and the general recommendation is also that all such, including E_NOTICE and E_WARNING messages, should be fixed to avoid cluttering error logs and make it more difficult to debug actual problems.