[PHP] Re: Booleans in lowercase or uppercase

2006-04-24 Thread M. Sokolewicz

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

2006-04-24 Thread Jochem Maas

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

2006-04-24 Thread Jesper Forsberg
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