Question here is not about consistency, <br><br>We use single quotes when we are not evaluating anything within the string.<br><br>echo &quot;Hello World!&quot; uses more cpu resources than echo &#39;Hello World&#39;.<br><br>
<br>I want know which of these two is better.<br><br>&lt;?php<br>echo &quot;This is a string with variable $test_variable&quot;<br> ?&gt;<br>
<br> &lt;?php<br> 
echo &#39;This is another variant of the above statement 
&#39;.$test_variable<br> ?&gt;<br><br><br>