Simetrical wrote:
I found this rather interesting page on PHP
optimization:
http://www.php.lt/benchmark/phpbench.php. It concludes that the
difference between single and double quotes is negligible altogether,
unless you're using an unescaped $ and *not* referring to a variable
(which understandably seems to confuse the interpreter a bit). I have
no idea what version of PHP that is, however.
Yes, the difference in execution time is negligible, as I said in my
previous post. However, the difference in parse time is said to be
significant.
-- Tim Starling