πŸ“Š PHP
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

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
85%
Success Rate