$var1 = 3; $var2 = "nowamagic"; $var4 = NULL; echo isset($var1); echo isset($var2); echo isset($var3); echo empty($var4);