RE: Booleans in lowercase or uppercase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux