PHP About PHP Tutorial Question #20286
Single Choice Easy

QWhat is the output of the following PHP code snippet?

echo strlen("Hello, World?");

ID: #20286 About PHP Tutorial 138 views
Question Info
#20286Q ID
EasyDifficulty
About PHP TutorialTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 12
  • B 13
  • C 14
  • D 15
Correct Answer

Explanation

Explanation: The strlen function in PHP returns the length of a string. In this case, the string "Hello, World?" has 13 characters, including the question mark.
No Previous No Next

Share This Question

Challenge a friend or share with your study group.