Why is assigning to $bool1 or $bool2 different from assigining to the same statement wrapped in parenthesis?
<p>I'm completely confused.  Why, on a grammatical level, would the two statements below be any different?</p>

<pre><code>$bool1=false;
$bool2=true;

//Statement1
$result=$bool1 or $bool2;  // Returns false

//Statement2
$result=($bool1 or $bool2);  // Returns true
</code></pre>

<p>As far as I'm aware, those two statements should be completely and absolutely identical.  But, for some reason, they aren't.  I can work around this, but the fact that they aren't identical means I'm missing some aspect of the language, and I don't have a clue where to check.</p>
