Re: NULL vs. null

From: Date: Sat, 02 Aug 2014 00:17:28 +0000
Subject: Re: NULL vs. null
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-266@lists.php.net to get a copy of this message
Hi! > On 2 Aug, 2014, at 7:48 am, Stas Malyshev <smalyshev@sugarcrm.com> wrote: > > Hi! > > 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? In the documentation, for function preambles and most, if not all, code samples we use lower case, but e.g. the &false; entity yields FALSE. If anything our documentation should be consistent about that first :) > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > > -- > PHP Naming Standardization Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.standards (#266) next »