Re: NULL vs. null
| From: | Peter Cowburn | Date: | Sat, 02 Aug 2014 11:59:50 +0000 |
| Subject: | Re: NULL vs. null | ||
| References: | 1 2 3 4 | Groups: | php.standards |
| Request: | Send a blank email to standards-+get-270@lists.php.net to get a copy of this message | ||
On 2 August 2014 01:57, Hannes Magnusson <hannes.magnusson@gmail.com> wrote:
> On Fri, Aug 1, 2014 at 5:25 PM, Stas Malyshev <smalyshev@sugarcrm.com>
> wrote:
> > Hi!
> >
> >> If anything our documentation should be consistent about that first :)
> >
> > Well, we're not going to rewrite the manual, but in the spec it's pretty
> > easy to be consistent, if we decide so.
>
> Why not?
> For the record, the docs follow the PEAR CS, which says
> false/true/null should be all lowercase:
> http://pear.php.net/manual/en/standards.naming.php
We (the documentation team) also have the differentiation that, in prose,
“NULL" is to be used for the value null, and “null” for the type null.
>
>
> -Hannes
>
> --
> PHP Naming Standardization Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>