(PHP 4 >= 4.0.4, PHP 5, PHP 7)
is_null —
변수가 NULL인지 확인합니다
var평가할 변수.
var가 null이면 TRUE를, 아니라면
FALSE를 반환합니다.
Example #1 is_null() 예제
<?php
error_reporting(E_ALL);
$foo = NULL;
var_dump(is_null($inexistent), is_null($foo));
?>
Notice: Undefined variable: inexistent in ... bool(true) bool(true)
NULL형