NYCPHP Meetup

NYPHP.org

[nycphp-talk] testing a theory

Adrian Noland anoland at indigente.net
Tue Feb 6 18:39:47 EST 2007


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";
?>



More information about the talk mailing list