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:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 13, 2001 9:05 AM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> ---
> René Fournier
> [EMAIL PROTECTED]

-- 
 ( * >    Nicolas Costes,
 //\\      IUT de La Roche / Yon
( \/ )     [EMAIL PROTECTED]
 < <      http://luxregina.free.fr

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to