Home / Questions / Other PHP exception throw कैसे करते हैं? को secure तरीके से कैसे implement करें? Other 0 Views Verified PHP exception throw कैसे करते हैं? को secure तरीके से कैसे implement करें? सही विकल्प चुनें और 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 throw Exception() only throw Exception() only Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer throw new Exception('Something went wrong'); throw new Exception('Something went wrong'); Additional Explanation throw new Exception exception raise करता है। User input को trust न करें; validation, escaping और prepared statements context के अनुसार उपयोग करें।
Verified raise Exception(...) raise Exception(...) Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified exception.throw(...) exception.throw(...) Additional Explanation यह विकल्प सही Core PHP solution नहीं है।