title: What happens in PHP when short-circuit && and || are mixed in the same expression?
body: <p>Are &amp;&amp; and || evaluated strictly left-to-right or are the &amp;&amp; operators evaluated first (most tightly)? I'm writing a recursive-descent parser so the answer will determine how the code looks.</p>
  
  <p>Example:</p>
  
  <pre><code>if ($a || $b &amp;&amp; $c)
  </code></pre>
  
  <p>Is the expression evaluated as <code>($a || $b) &amp;&amp; $c</code>, or <code>$a || ($b &amp;&amp; $c)</code> ?</p>