Re: [STANDARDS] NULL vs. null
[email protected] (Tjerk Meesters)
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
Hi! > On 2 Aug, 2014, at 7:48 am, Stas Malyshev <[email protected]> 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 >