title: Two conditions in a for loop
body: <p>Why does this for loop work with each condition on their own, but together the first condition doesn't matter?</p>
  
  <pre><code>for ($j = 0; $j &lt; 5 or $j &lt; $synCount; $j++)
  </code></pre>
  
  <p>I only want the loop run five times</p>
  
  <p>or</p>
  
  <p>if synCount is less than this.</p>