Differences between echoing the output gradually or returning it.

From: Date: Wed, 22 Sep 2004 22:10:07 +0000
Subject: Differences between echoing the output gradually or returning it.
Groups: php.general 
Request: Send a blank email to php-general+get-197633@lists.php.net to get a copy of this message
Hi, I just wanted to know what are the main pros and cons between echoing the output some PHP script as it process the data and returning the whole output to echo it at once. I find the second way to be useful when I want to add a header() line without concerning former output. However, is that way slower or has any other inconvenience? Thanks. -- Eduard Duran

« previous php.general (#197633) next »