Re: NULL vs. null

From: Date: Fri, 01 Aug 2014 23:51:43 +0000
Subject: Re: NULL vs. null
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-265@lists.php.net to get a copy of this message
On 2 Aug 2014, at 00:48, Stas Malyshev <smalyshev@sugarcrm.com> 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/

« previous php.standards (#265) next »