Q. What is the output of echo strlen('PHP');?

  • (A) 3
  • (B) 2
  • (C) 4
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) 3
Explanation: The strlen() function returns the length of a string. 'PHP' has 3 characters.
Explanation by: Mr. Dubey
The strlen() function returns the length of a string. 'PHP' has 3 characters.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate