PHP -Code, um zu überprüfen, ob die Variable null ist
if(empty($var1)){
echo 'This line is printed, because the $var1 is empty.';
}
Yellowed Yak
if(empty($var1)){
echo 'This line is printed, because the $var1 is empty.';
}
is_null($foo)