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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -