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

« mySQL, BLOBs and image streams || Negative Captcha advice »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home