SarkariResultess QA Bank

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

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

Answer & Explanation

4 Answers
Verified

$a + $b

$a + $b
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

$a :: $b

$a :: $b
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified Correct Answer

$a . $b

$a . $b
Additional Explanation
Dot operator strings concatenate करता है। User input को trust न करें; validation, escaping और prepared statements context के अनुसार उपयोग करें।
Verified

$a & $b

$a & $b
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।