MCQs > IT & Programming > PHP > Difference between $a == $b and $a === $b in PHP?

PHP MCQs

What is the difference between $a == $b and $a === $b in PHP?

Answer

Correct Answer: '==' checks whether $a and $b are equal after type juggling, '===' checks whether $a and $b are equal and are of the same type.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it