php man page for is_null

Query: is_null

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IS_NULL(3)								 1								IS_NULL(3)

is_null - Finds whether a variable is NULL

SYNOPSIS
bool is_null (mixed $var)
DESCRIPTION
Finds whether the given variable is NULL.
PARAMETERS
o $var - The variable being evaluated.
RETURN VALUES
Returns TRUE if $var is null, FALSE otherwise.
EXAMPLES
Example #1 is_null(3) example <?php error_reporting(E_ALL); $foo = NULL; var_dump(is_null($inexistent), is_null($foo)); ?> Notice: Undefined variable: inexistent in ... bool(true) bool(true)
SEE ALSO
The NULL type, isset(3), is_bool(3), is_numeric(3), is_float(3), is_int(3), is_string(3), is_object(3), is_array(3). PHP Documentation Group IS_NULL(3)
Related Man Pages
is_numeric(3) - php
gettype(3) - php
is_object(3) - php
arrayaccess(3) - php
is_string(3) - php
Similar Topics in the Unix Linux Community
PERL: how to tell if variable is NULL
problem with netfilter hook function struct skbuff *sock is null..
tcsh: how to prevent a foreach from terminating a script when the result is null?
Value of variable is NULL, but test doesn't seem to recognize
If grep value is null then assign 0 to variable