SarkariResultess QA Bank

PHP सभी reportable errors select करने के लिए क्या उपयोग करते हैं? को secure तरीके से कैसे implement करें?

Other 0 Views Verified
PHP सभी reportable errors select करने के लिए क्या उपयोग करते हैं? को secure तरीके से कैसे implement करें? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

enable_php_errors();

enable_php_errors();
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

show_errors(EVERYTHING);

show_errors(EVERYTHING);
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer

error_reporting(E_ALL);

error_reporting(E_ALL);
Additional Explanation
E_ALL सभी reportable PHP errors select करता है। User input को trust न करें; validation, escaping और prepared statements context के अनुसार उपयोग करें।
Verified

error_reporting(OFF_ALL);

error_reporting(OFF_ALL);
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।