Re: Booleans in lowercase or uppercase
| From: | Richard Lynch | Date: | Tue, 25 Apr 2006 05:14:14 +0000 |
| Subject: | Re: Booleans in lowercase or uppercase | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234650@lists.php.net to get a copy of this message | ||
On Mon, April 24, 2006 5:12 pm, Jesper Forsberg wrote:
> 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.
You *do* want to stay consistent with whatever you choose -- or with
whatever was chosen by the developer of the code you inherited.
Unless they were totally wacko and used TrUe and fAlSe :-)
--
Like Music?
http://l-i-e.com/artists.htm