#35008 [NEW]: ob_end_clean(): s/ob_end_flush()/ob_end_clean()/

From: Date: Fri, 28 Oct 2005 16:19:52 +0000
Subject: #35008 [NEW]: ob_end_clean(): s/ob_end_flush()/ob_end_clean()/
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370690@lists.php.net to get a copy of this message
From: pggimeno at wanadoo dot es Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: ob_end_clean(): s/ob_end_flush()/ob_end_clean()/ Description: ------------ The second sentence in the description of ob_end_clean() reads: "If you want to further process the buffer's contents you have to call ob_get_contents() before ob_end_clean() as the buffer contents are discarded when ob_end_flush() is called." I think that the last ob_end_flush() should be ob_end_clean() instead. -- Edit bug report at http://bugs.php.net/?id=35008&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35008&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35008&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35008&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35008&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35008&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35008&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35008&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35008&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35008&r=support Expected behavior: http://bugs.php.net/fix.php?id=35008&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35008&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35008&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35008&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35008&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35008&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35008&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35008&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35008&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35008&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35008&r=mysqlcfg

« previous php.doc (#969370690) next »