Sander Roobol wrote:
On Thu, Oct 24, 2002 at 11:59:19AM -0400, Jon Parise wrote:
- Change the compiled default value for output_buffering to 0.
- Allow output_buffering to be set by ini_set().
- Specify 'output_buffering = 0' via the -D command line option
for run-tests.php.
- Pass a php.ini configuration file to run-tests.php using -C.
Can't we just flush all the open output buffers? Something like this:
while(ob_get_level()) ob_end_clean();
Of course, I know that.
But my points are
- run-tests.php itself is not test script, but phpt is.
- with specific ini, we can get rid of code aren't needed
- we don't have to care about careless patches, and say
'Hey your patch does not work with my php.ini".
- things are easier with certain ini.
- etc, etc.
So far, I didn't see any good point using various php.ini
settings for run-tsets.php. Person, who get rid of the setting
and insist specifying php.ini is not worth, even cannot
find and fix problem with php.ini-recommended.
Better choice is obvious, isn't?
--
Yasuo Ohgaki
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php