Home / Questions / Other PHP custom exception class कैसे बनाते हैं? इसका सही PHP syntax क्या है? Other 1 Views Verified PHP custom exception class कैसे बनाते हैं? इसका सही PHP syntax क्या है? सही विकल्प चुनें और code/solution को समझें। #php #core php #php programming #php tutorial #php error #php solution #backend #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified class ValidationException inherits ErrorOnly {} class ValidationException inherits ErrorOnly {} Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified exception ValidationException {} exception ValidationException {} Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified class ValidationException exception {} class ValidationException exception {} Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer class ValidationException extends Exception {} class ValidationException extends Exception {} Additional Explanation Custom exception Exception को extend कर सकती है।