PHP પાસે સમસ્યાઓ માટે બે સમાંતર પ્રણાલીઓ છે: પરંપરાગત errors (warnings, notices, fatal errors) અને exceptions (object-based, try/catch સાથે પકડી શકાય તેવા). આધુનિક 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
