At 6:39 PM -0500 2/6/07, Adrian Noland wrote:
Hi, I have a quick (and probably silly) question. Is there performance
difference between the following two snippets. Does it make a
difference if there are hundreds+ of lines?
<?php
$content = "this is the start of a bunch of lines";
$content .= "another line";
$content .= "yet another";
echo $content;
?>
vs.
<?php
echo "this is the start of a bunch of lines";
echo "another line";
echo "yet another";
?>
No offense meant, but when I have a question like that, I test it and
find out. Why ask the list for something you could test yourself?
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php