πŸ“Š PHP
Q. What will be the output?
Code:
echo strlen(NULL);
  • (A) 0
  • (B) NULL
  • (C) Error
  • (D) 1
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0

Explanation: NULL is treated as empty string.

Explanation by: Roshan
NULL is treated as empty string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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