diff --git a/language/types.xml b/language/types.xml index 5da7916527..d7fec8b5fd 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -1807,6 +1807,26 @@ $bar->do_foo(); The null type was introduced in PHP 4 + + A variable is considered to be &null; if + + + + it has been assigned the constant &null;. + + + + + it has not been set to any value yet. + + + + + it has been unset. + + + + Syntax @@ -1820,6 +1840,9 @@ $var = NULL; + + See also is_null and unset. + diff --git a/reference/var/functions/is-null.xml b/reference/var/functions/is-null.xml index 7e290f57e4..224b8b223e 100644 --- a/reference/var/functions/is-null.xml +++ b/reference/var/functions/is-null.xml @@ -1,5 +1,5 @@ - + @@ -19,7 +19,12 @@ &false; otherwise. - See also is_bool, + See the &null; type + when a variable is considered to be &null; and when not. + + + See also &null;, + is_bool, is_numeric, is_float, is_int,