In PHP, the special data type NULL is used to indicate the presence of solely the NULL value. It cannot have any other value assigned to it.
PHP allows for the declaration of NULL in one of two ways, as illustrated below:
$var = NULL:
Or
$var = null;
In PHP, the two aforementioned syntaxes function correctly.