Q. What will be the output of: echo 5 === '5';

  • (A) true
  • (B) false
  • (C) 1
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) false
Explanation: === compares both value and type, integer is not equal to string.
Explanation by: Yami Thakur
=== compares both value and type, integer is not equal to string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
58
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
87%
Success Rate