Which PHP operator returns true only when both operands have the same value and the same type?
Correct answer C. ===
Explanation
The identity operator === compares both value and type, so 5 === "5" is false, while the loose comparison 5 == "5" is true.
Answer checked How we write and check questions
Discussion