Image

Imagekrunkosaurus wrote in Imagephp

Quoting with variable(s) standard

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?