[wp-hackers] usage of single quotes and double quotes in PHP
satish.iitg at gmail.com
Thu Mar 3 21:43:07 UTC 2011
*We use single quotes when we are not evaluating anything within the* *string.
**echo "Hello World!" uses more cpu resources than echo 'Hello World'.
I* want know which of these two is better.
** echo "This is a string with variable $test_variable"
** echo 'This is another variant of the above statement '.$test_variable
More information about the wp-hackers