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

Josh Stauffer joshstauffer at gmail.com
Thu Mar 3 14:49:42 UTC 2011


I try to follow the WordPress coding standards:
http://codex.wordpress.org/WordPress_Coding_Standards#Single_and_Double_Quotes

Josh


On Thu, Mar 3, 2011 at 8:13 AM, Satish Gandham <satish.iitg at gmail.com>wrote:

> 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
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110303/abc29c48/attachment.htm>


More information about the theme-reviewers mailing list