(PHP 4 >= 4.0.4, PHP 5)
is_null — Prüft ob eine Variable NULL enthält
Die zu prüfende Variable.
Liefert TRUE wenn var null enthält, sonst FALSE.
Beispiel #1 is_null()-Beispiel
<?php
error_reporting(E_ALL);
$foo = NULL;
var_dump(is_null($inexistent), is_null($foo));
?>
Notice: Undefined variable: inexistent in ... bool(true) bool(true)