if($var) tests the truth value of $var, while isset($var) checks if $var has been initialized or not. If $var has not been initialized, if($var) will throw a notice "unknown variable var". But isset will check if $var is set; if $var is initialized it will return its value otherwise return false.