PHP.nl

NULL

Laatst bijgewerkt:

NULL

The type is PHP's unit type, i.e. it has only one value: null. null

Undefined, and variables will resolve to the value null. unset

Syntax

There is only one value of type , and that is the case-insensitive constant null. null

<?php
$var = NULL;       
?>

Casting to null

Casting a variable to using will remove the variable or unset its value. It will only return a null value. null``(unset) $varnot

is_null``unset