[Solved] The usage of == and === in php [duplicate]
=== means exact value, so for true it has to be true, while == checks for the meaning of the value, so true will be also a value of ‘1’ or a whatever String. 2 solved The usage of == and === in php [duplicate]