Q. What is the result of '5' === 5 in PHP?

  • (A) false
  • (B) true
  • (C) error
  • (D) null
πŸ’¬ Discuss
βœ… Correct Answer: (A) false
Explanation: The === operator checks for both value and type. '5' (string) is not equal to 5 (integer).
Explanation by: Rati Dubey
The === operator checks for both value and type. '5' (string) is not equal to 5 (integer).

πŸ’¬ Discussion


πŸ“Š Question Analytics

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