MCQs > IT & Programming > PHP 5 > After execution, what will be the value of $text and what will strlen($text) return? $text ='John' $text[10]='Doe'

PHP 5 MCQs

After the code is executed, what will be the value of $text and what will strlen($text) return? $text ='John'; $text[10]='Doe';

Answer

Correct Answer: "John D" and strlen($text) return 11

Explanation:

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

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it