PHP में समस्याओं के लिए दो समानांतर systems हैं: पारंपरिक errors (warnings, notices, fatal errors) और exceptions (object-based, try/catch के साथ catchable)। आधुनिक PHP इसका अधिकांश भाग एक Throwable hierarchy के अंतर्गत एकीकृत करता है, और अच्छा अभ्यास exceptions को प्राथमिकता देता है।
पारंपरिक error levels
E_NOTICE → minor issues (e.g. using an undefined variable) — script continues
E_WARNING → non-fatal problems (e.g. include of a missing file) — continues
E_ERROR / Fatal → serious errors (e.g. calling an undefined function) — script HALTS
E_DEPRECATED → use of deprecated features
