05-14-2009, 11:15 PM
|
#9 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
If you're going to do that (don't!) then always wrap parentheses around the component parts even if they're not necessary for making things work!
That reminds of questions like: (you can ignore the capitals for this)
PHP Code:
// What are $a, $b, $c and $d?
$a = FALSE OR TRUE;
$b = FALSE || TRUE;
$c = TRUE AND FALSE;
$d = TRUE && FALSE;
|
|
|
|