0

What does it mean by three equal to symbols"===" ?

14th Nov 2017, 1:10 PM
Vasu Dev
Vasu Dev - avatar
2 Answers
+ 2
$a === $b (Identical) TRUE if $a is equal to $b, and they are of the same type. (introduced in PHP 4)
14th Nov 2017, 1:53 PM
MsJ
MsJ - avatar
+ 1
It checks to be sure the type and value are both the same.
14th Nov 2017, 1:20 PM
John Wells
John Wells - avatar