php.net |  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 (profile)
Status: Closed Package: Output Control
PHP Version: 4.3.0 OS: any
Private report: No CVE-ID: None
 [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!

TIA
Ale

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-25 13:55 UTC] helly@php.net
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] helly@php.net
The part already closed (the eb_end_clean() loop)
was also reported in http://bugs.php.net/21647
 [2003-03-15 18:05 UTC] helly@php.net
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 http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

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


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC