Q. What will be the output?

Code:
$str = "Hello";
echo strlen($str);
  • (A) 4
  • (B) 5
  • (C) 6
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 5
Explanation: strlen() returns length of string 'Hello' = 5.
Explanation by: Roshan
strlen() returns length of string 'Hello' = 5.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
32
Total Visits
πŸ“½οΈ
5 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
91%
Success Rate