is_null
(PHP 4 >= 4.0.4, PHP 5)
is_null — Finds whether a variable is NULL
說明
bool is_null
( mixed $var
)
Finds whether the given variable is NULL.
參數
- var
-
The variable being evaluated.
Return值
Returns TRUE if var is null, FALSE otherwise.