title: php order of execution
body: <p>Say, you have a condition like this;</p>
  
  <p><code>if ($condition_1 &amp;&amp; $condition_2)</code></p>
  
  <p>and you have the option of writing it as </p>
  
  <p><code>if ($condition_2 &amp;&amp; $condition_1)</code></p>
  
  <p>Now, if condition_1 takes 1 ms to figure it out whether it is true or false and condition_2 on the other hand takes a lot longer, say 1000ms!, which way would you write the above condition as? the slower one on the right or on the left? </p>
  
  <p>I assume that when one of the conditions is found to be FALSE, PHP would not bother to check whether the other condition is TRUE. If it did, that would be the biggest surprise of the century! </p>