SarkariResultess QA Bank

PHP variable set है और null नहीं है या नहीं check करने के लिए क्या उपयोगी है? को secure तरीके से कैसे implement करें?

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

Answer & Explanation

4 Answers
Verified

has_value($value)

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

defined($value)

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

isset($value)

isset($value)
Additional Explanation
isset() checks variable exists and is not null। User input को trust न करें; validation, escaping और prepared statements context के अनुसार उपयोग करें।
Verified

exists($value)

exists($value)
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।