MCQs > IT & Programming > PHP > What's the output? $string = '1234567890234567890'; $pos = strpos($string, '2', 2); echo 'The number two was found at position $pos';

PHP MCQs

What will this code output? $string = "1234567890234567890"; $pos = strpos($string, "2", 2); echo "The number two was found at position $pos";

Answer

Correct Answer: The number two was found at position 10

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it