What is the difference between if(isset($a)) and if($a) in php? -
what difference between if(isset($a))
, if($a)
or if_exist($a)
, if($a)
in php?
with $a = false;
:
if ($a) {}
return false, whereas if (isset($a)) {}
return true.
i not know if_exist speak of. :)
edit: please check @utkanos's answer excellent , more expansive explanation. :)
Comments
Post a Comment