here doc performance
| From: | Jack Dempsey | Date: | Sat, 07 Apr 2001 06:13:53 +0000 |
| Subject: | here doc performance | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47548@lists.php.net to get a copy of this message | ||
Hi all,
I use the here doc option heavily in pages i create, outputting large chunks
of HTML with variables inside the echo<<<EOF ...... EOF; syntax...is there a
better way to do this? I'm wondering if anyone knows of running times for
things like that...i would think that it'd be better than going back and
forth between php and html (certainly easier), wouldn't have to escape the
quotes like you would if you used
echo "
lots of html
...
";
Any thoughts on this?