Best way of writing an expression in an if construct
<p>I have a question about something that I found among PHP best practises book that I read.</p>

<p>What is the best way to do the following test?</p>

<pre><code>if("value" == $variable){}
</code></pre>

<p>and</p>

<pre><code>if($variable == "value"){}
</code></pre>
