In PHP, is
if(!$foo)
equivalent with
if($foo != true)
or with
if($foo !== true)
Its not the same
!= is No equal (Returns true if is not equal) !== is Not identical (Returns true if is not equal , or they are not of the same type)