Re: php-speed

From: Date: Thu, 13 Jun 2002 13:44:02 +0000
Subject: Re: php-speed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101954@lists.php.net to get a copy of this message
Thursday, June 13, 2002, 2:09:23 PM, you wrote: > I don't think so. The difference is (IMHO + the article linked below) if > you use > ...<a href="<?=$Var?>">Foo</a>... (faster) > or > <? print "...<a href=\"$Var\">Foo</a>..."; ?> (slower) Actually, Brian is right. PHP parses text contained within "s whereas it doesn't do so with text contained within 's. However, neither will be quicker than inline HTML since PHP completely ignores that as previously mentioned. -- Stuart

« previous php.general (#101954) next »