$x = NULL; if (is_null($x)) echo "\$x is null\n";