title: PHP Lazy Boolean Evaluation
body: <p>I have a conditional statement thus:</p>
  
  <pre><code>if($boolean &amp;&amp; expensiveOperation()){ ...}
  </code></pre>
  
  <p>Does PHP have lazy boolean evaluation, i.e. will it check <code>$boolean</code> and if it is false not bother performing the expensive operation? If so, what order should I put my variables?</p>