parsing
| From: | Dave at Sinewaves.net | Date: | Tue, 23 Jul 2002 19:01:33 +0000 |
| Subject: | parsing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109131@lists.php.net to get a copy of this message | ||
Okay,
I want to know if anybody has a clue which is more efficient,
processorwise/parsingwise:
this:
------
echo
"<table><tr><td><b>".$somevar."</b><br>".$somevardesc."</td></tr></table>";
or this:
------
echo
"<table><tr><td><b>{$somevar}</b><br>{$somevardesc}</td></tr></table>";
I almost always use the first method (just seems more readable to me), but
with all of the discussion popping up about curly brackets, i was wondering
if it really makes a difference? Any vets out there care to put in their
$0.02?
Dave Tichy
http://sinewaves.net/