You get a bonus - 1 coin for daily activity. Now you have 1 coin

Special type Null (empty type) in PHP

Lecture



The special value NULL indicates that this variable does not matter. NULL is the only possible value of type NULL .

A variable is considered NULL if

  • it was assigned the constant NULL .

  • she has not yet been assigned any value.

  • it was removed with unset () .

Special NULL syntax

There is only one NULL value , the case-insensitive keyword NULL .

$var = NULL;
?>

See also is_null () and unset () .

See also

created: 2016-01-25
updated: 2021-11-17
132431



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Running server side scripts using PHP as an example (LAMP)

Terms: Running server side scripts using PHP as an example (LAMP)