Pages

Showing posts with label PHP operators. Show all posts
Showing posts with label PHP operators. Show all posts

Monday, 8 September 2014

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

The == operator just checks to see if the left and right values are equal. But, the === operator (note the extra “=”) actually checks to see if the left and right values are equal, and also checks the variable types.