Re: Booleans in lowercase or uppercase

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

 



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

- tul

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