long echo statement performance question
| From: | Frank Stanovcak | Date: | Fri, 06 Feb 2009 17:12:08 +0000 |
| Subject: | long echo statement performance question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-287825@lists.php.net to get a copy of this message | ||
I'm in the process of seperating logic from display in a section of code,
and wanted to make sure I wasn't treading on a performance landmine here, so
I ask you wizened masters of the dark arts this...
is there a serious performance hit, or reason not to use long, ie more than
30 - 40 lines, comma conjoined echo statments...
echo 'blah', $var, 'blah', $var2,...ad nauseum
... to output mixed html and php var values? If so could you refer me to a
work around, or better way?
Frank