Re: PHP URL issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux