[theme-reviewers] usage of single quotes and double quotes in PHP

Satish Gandham satish.iitg at gmail.com
Thu Mar 3 14:13:56 UTC 2011


Which is better of the following two

<?php
echo "This is a string with variable $test_variable"
?>

<?php
echo 'This is another variant of the above statement '.$test_variable
?>


Regards
Satish Gandham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110303/f2d5d079/attachment.htm>


More information about the theme-reviewers mailing list