RE: [PHP] Booleans in lowercase or uppercase

From: Date: Tue, 25 Apr 2006 06:30:10 +0000
Subject: RE: [PHP] Booleans in lowercase or uppercase
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234662@lists.php.net to get a copy of this message
> 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 :-) ---------------- I say make it all upper-case that way it will look like you're yelling at PHP and it may make it work faster. Not better, but faster.

« previous php.general (#234662) next »