PHP సమస్యల కోసం రెండు సమాంతర వ్యవస్థలను కలిగి ఉంది: సంప్రదాయ errors (warnings, notices, fatal errors) మరియు exceptions (object-based, try/catch తో catchable). ఆధুনిక PHP వీటిలో చాలా వరకు Throwable hierarchy క్రింద ఏకీకృతం చేస్తుంది, మరియు మంచి practice 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
