title: Logical operators - 'or' vs. '||' (double pipe) in PHP
body: <p>I've always used <code>||</code> (double pipe) for <code>if (($a == $b) || ($a == $c)) { }</code> and <code>or</code> for <code>do_this() or do_that();</code>.</p>
  
  <p>Why not <code>if (($a == $b) or ($a == $c)) { }</code> or <code>do_this() || do_that();</code>?</p>
  
  <p>Is there a reason to use any of these two logical operators or it is just a personal preference?</p>
  
  <p>The same applies for <code>&amp;&amp;</code> vs. <code>and</code>, of which I only use <code>&amp;&amp;</code>.</p>