
Journal shahryarghazi's Journal: Difference between '==' (equal) and '===' (identical) compa
Click here to read the tutorial.
Two of the many comparison operators used by PHP are '==' (i.e. equal) and '===' (i.e. identical). The difference between the two is that '==' should be used to check if the values of the two operands are equal or not. On the other hand, '===' checks the values as well as the type of operands. I'll explain it more using some examples.
Difference between '==' (equal) and '===' (identical) compa More Login
Difference between '==' (equal) and '===' (identical) compa
Slashdot Top Deals