Re: Performance

From: Date: Thu, 13 Dec 2001 18:33:55 +0000
Subject: Re: Performance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77637@lists.php.net to get a copy of this message
A good way to avoid HEADER errors too???? Le Jeudi 13 Décembre 2001 19:14, René Fournier a écrit : > That certainly makes sense on one level, but I think it really comes > down to the question, what is more compute intensive--echoing the HTML > while "in" PHP mode, or context-switching to HTML and back again to PHP? > (It could be that the difference, if any, is negligible--but I'd like to > at least know BEFORE I write 100 million lines of otherwise perfect > code :-) > > ...Rene > > On Thursday, December 13, 2001, at 10:26 AM, Nathan Cassano wrote: > > I have always assumed straight html was faster than function output. My > > logic being that "quoted" output requires more parsing than straight > > html. But they may be the same speed after a simple optimization pass. > > > > -----Original Message----- > > From: René Fournier [mailto:rene.fournier@markada.com] > > Sent: Tuesday, November 13, 2001 9:05 AM > > To: php-general@lists.php.net; mysql@lists.mysql.com > > Subject: [PHP] Performance > > > > > > Is it true that mixing HTML and PHP--switching back and forth with > > <?php ?> tags--slows down performance? (I'm using PHP4.) Is it better > > to echo output than to drop out of PHP mode? > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > --- > René Fournier > renefournier@yahoo.com -- ( * > Nicolas Costes, //\\ IUT de La Roche / Yon ( \/ ) Nayco@laroche.univ-nantes.fr < < http://luxregina.free.fr

« previous php.general (#77637) next »