Re: Re: Booleans in lowercase or uppercase

From: Date: Mon, 24 Apr 2006 22:57:16 +0000
Subject: Re: Re: Booleans in lowercase or uppercase
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-234645@lists.php.net to get a copy of this message
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


« previous php.general (#234645) next »