What is the difference between == and === operators in PHP?

“==” operator is used to check two values without checking datatypes.

“===” operator is used to do a strict check that also checks for datatypes along with values


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *