Variable position in comparision in PHP
<p>Which is more optimized between 2 case below?<br /></p>

<pre><code>if ($var == 'value') {} 
</code></pre>

<p>and</p>

<pre><code>if ('value' == $var) {}
</code></pre>

<p>Sorry if this is duplicated with another question but I can not google out the answer.</p>

<p>Thanks</p>

<p>[UPDATE]</p>

<p>This's called Yoda Conditions, more information <a href="http://wiert.me/2010/05/25/yoda-conditions-from-stackoverflow-new-programming-jargon-you-coined/" rel="nofollow">here</a>.</p>
