Quoting with variable(s) standard
Date: 02/12/07
(PHP Community) Keywords: php
Hi, whenever I write strings out with variables I do this:
echo 'hello person named '.$person_name;
instead of
echo "hello person named $person_name";
I've always done it this way because I assume it's less work on the PHP engine, although, whenever I see someone else's script, I notice hardly anyone does it this way. It is a little bit of extra work, so am I wasting my time?
Source: http://community.livejournal.com/php/540279.html