[PHP] Re: Booleans in lowercase or uppercase
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
Re: [PHP] Re: Booleans in lowercase or uppercase
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Booleans in lowercase or uppercase
Thank you very much. You've been most helpful :) On 4/25/06, Jochem Maas [EMAIL PROTECTED] wrote: 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php