Re: Booleans in lowercase or uppercase
| From: | M. Sokolewicz | Date: | Mon, 24 Apr 2006 22:41:27 +0000 |
| Subject: | Re: Booleans in lowercase or uppercase | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234643@lists.php.net to get a copy of this message | ||
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, JesperPHP 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