On Tue, March 13, 2007 9:31 am, Steve wrote:
> This may or may not help, but here's a few things to note:
>
> 1) I would avoid placing variable output in double quoted strings.
> While not
> important for smaller scripts, doing a large number of outputs like
> this
> causes a decent performance hit. In fact, I wouldn't use double quotes
> ever
> in php. Instead, strive for something like:
>
> echo '<b><a href="test.php?term='.$letter_value.'">'.$letter_value.'
> &nbsp;</a></b>';

Have you benchmarked this, or can you provide a link to others'
benchmarks demonstrating this perofmrnace hit?...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to