Re: Re: Booleans in lowercase or uppercase
| From: | Jesper Forsberg | Date: | Mon, 24 Apr 2006 23:01:43 +0000 |
| Subject: | Re: Re: Booleans in lowercase or uppercase | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234646@lists.php.net to get a copy of this message | ||
Thank you very much. You've been most helpful :)
On 4/25/06, Jochem Maas <jochem@iamjochem.com> wrote:
> M. Sokolewicz wrote:
> > Jesper Forsberg wrote:
> >
> >> Hello,
> >>
> >> I've seen the usage of both TRUE, true, FALSE and false all over the
> >> php.net site. Yet, there does not seem to be a clear distinction
> >> between the uppercase and lowercase variants.
> >>
> >> Will it make any difference if i use lowercase or uppercase?
> >> I would be thankful if someone could shed some light on this.
> >>
> >> Kindest regards,
> >> Jesper
> >
> >
> > PHP keywords are case-insensitive. Since true and false fall under this
> > category, so are they. Don't worry, it won't make any difference (unless
> > you have strict coding guidelines, which restrict you to a single type
> > of use...)
>
> actually even then it doesn't make a difference to the php engine - granted
> your company's CS gestapo might pay you a visit if you don't comply ;-)
>
> >
> > - tul
> >
>
>