How would one test something like this? Testing for performance is something I would like to start doing but I don't know where/how to start.

-Aaron

On Feb 7, 2007, at 11:05 AM, tedd wrote:

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

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

_______________________________________________
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

Reply via email to