πŸ“Š PHP
Q. Which operator is used for strict comparison (value and type) in PHP?
  • (A) ==
  • (B) ===
  • (C) !=
  • (D) !==
πŸ’¬ Discuss
βœ… Correct Answer: (B) ===

Explanation: The === operator checks both value and type. == checks only value, != checks inequality of value, and !== checks inequality of both value and type.

Explanation by: Rati Dubey
The === operator checks both value and type. == checks only value, != checks inequality of value, and !== checks inequality of both value and type.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
34
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
87%
Success Rate