|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21751 make test miserably fails
Submitted: 2003-01-19 10:45 UTC Modified: 2003-03-15 18:05 UTC
From: vesely at tana dot it Assigned: helly
Status: Closed Package: Output Control
PHP Version: 4.3.0 OS: any
Private report: No CVE-ID:
 [2003-01-19 10:45 UTC] vesely at tana dot it
I didn't have "." in my include_path and I
had output_buffering = 4096. Reasonable?

So the while(ob_get_level()) ob_end_clean();
algorithm in run-tsts.php runs forever: level
won't go below 1.

An implicit ob_start implied by buffering?
then the feature is fine and the test script
broken. I commented that out but forgot to
fix the .ini. Result: many test failures and
the result posted to your site w/o letting me
say a word. (Quite nasty, isn't it?)

In facts:

1) "-n" or "-c ." options to command line don't do it,

2) flush() doesn't work as expected when bufferning,

3) reading stdin doesn't work at all!

You need to fix (1) and ship the product with
a working php.ini for the tests.

Please fix the tests by setting something like
"do you want to run the tests interactively?"
and if you get no answer assume NO_INTERACTION=1!



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-25 13:55 UTC]
Symptoms are defeated the real problem remains: 
"failed to delete buffer default output handler"

In other words with cvs versions you can do now:
php -d output_buffering=4096 run-tests.php

Interesting thing is that it worked in 4.2
 [2003-01-31 02:24 UTC]
The part already closed (the eb_end_clean() loop)
was also reported in
 [2003-03-15 18:05 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Tue Dec 01 23:01:33 2015 UTC