Difference between NULL and null in PHP

Question :

Difference between NULL and null in PHP,

Answer :

Is there a difference between NULL and null in PHP? Sometimes they seem to be interchangeable and sometimes not.

edit: for some reason when I read the documentation linked to in the answer (before posting this question) I read it as “case sensitive” instead of “case insensitive” which was the whole reason I posted this question in the first place…

,

Null is case insensitive.

From the

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

That’s the answer Difference between NULL and null in PHP, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Filling a DataSet or a DataTable from a LINQ query result set

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you