Re: [STANDARDS] NULL vs. null

[email protected] (Andrea Faulds)
Newsgroups php.standards
Message-ID <[email protected]>
On 2 Aug 2014, at 00:48, Stas Malyshev <[email protected]> wrote:

> PSR-2 recommends using null, true and false (in lowercase) when
> referring to the respective values. Should we do the same in the spec? I
> think it looks better, but some people may be used to NULL etc. What do
> you think?

I’m not super fussed. Myself, I think caps makes them stand out more, and as they’re technically constants, we should maybe use caps as that’s the convention for them.

But what really matters is we just choose one thing and stick with it. No mixing NULL and null.

--
Andrea Faulds
http://ajf.me/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.