View Single Post
Old 05-14-2009, 11:15 PM   #9 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

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
Salathe is offline  
Reply With Quote