Re: PHP URL issues

From: Date: Wed, 14 Mar 2007 09:07:22 +0000
Subject: Re: PHP URL issues
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-250536@lists.php.net to get a copy of this message
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?

« previous php.general (#250536) next »