Kode php untuk memeriksa apakah variabel nol
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)