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