SarkariResultess QA Bank

PHP variable set है और null नहीं है या नहीं check करने के लिए क्या उपयोगी है? में developers की common mistake क्या है?

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

Answer & Explanation

4 Answers
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।
Verified

has_value($value)

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

exists($value)

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