#36383 [NEW]: ob_implicit_flush() does not disable output buffering

From: Date: Mon, 13 Feb 2006 16:09:57 +0000
Subject: #36383 [NEW]: ob_implicit_flush() does not disable output buffering
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93217@lists.php.net to get a copy of this message
From: david at acz dot org Operating system: Linux PHP version: 5.1.2 PHP Bug Type: Output Control Bug description: ob_implicit_flush() does not disable output buffering Description: ------------ The documentation for ob_implicit_flush says that "Turning implicit flushing on will disable output buffering, the output buffers current output will be sent as if ob_end_flush() had been called." This is not the case. If this is indeed the correct behavior, please update the documentation to reflect that and add an example such as the following: ob_implicit_flush(true); while (@ob_end_flush()); Reproduce code: --------------- ob_start(); ob_implicit_flush(true); var_dump(ob_end_flush()); Expected result: ---------------- bool(false) Actual result: -------------- bool(true) -- Edit bug report at http://bugs.php.net/?id=36383&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36383&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36383&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36383&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36383&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36383&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36383&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36383&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36383&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36383&r=support Expected behavior: http://bugs.php.net/fix.php?id=36383&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36383&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36383&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36383&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36383&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36383&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36383&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36383&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36383&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36383&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36383&r=mysqlcfg

« previous php.bugs (#93217) next »