SarkariResultess QA Bank

PHP substring position खोजने का function क्या है? की PHP best practice क्या है?

Other 0 Views Verified
PHP substring position खोजने का function क्या है? की PHP best practice क्या है? सही विकल्प चुनें और code/solution को समझें।
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified Correct Answer

strpos($text, 'php')

strpos($text, 'php')
Additional Explanation
strpos() first occurrence position या false देता है।
Verified

string_index($text,'php')

string_index($text,'php')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

find_pos($text,'php')

find_pos($text,'php')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।
Verified

$text.position('php')

$text.position('php')
Additional Explanation
यह विकल्प सही Core PHP solution नहीं है।