PHP is_null

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-29 09:09:241237browse

(PHP 4 >= 4.0.4, PHP 5, PHP 7)

is_nullDetect whether the variable is NULL

Description?

boolis_null ( mixed$var )

if var is null then return TRUE, otherwise returns FALSE.

View The NULL type knows when a variable is considered NULL and when it is not.

See NULL, is_bool(), is_numeric(), is_float(), is_int(), is_string(), is_object(), is_array(), is_integer () and is_real().

The above has introduced PHP is_null, including aspects of it. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn