In PHP, is
if(!$foo)
equivalent with
if($foo != true)
or with
if($foo !== true)
is the equivalent to
so
$foo = null; if(!$foo){ echo "asd"; }
will ouptut "asd"