php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35008 ob_end_clean(): s/ob_end_flush()/ob_end_clean()/
Submitted: 2005-10-28 18:19 UTC Modified: 2005-10-29 08:45 UTC
From: pggimeno at wanadoo dot es Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pggimeno at wanadoo dot es
New email:
PHP Version: OS:

 

 [2005-10-28 18:19 UTC] pggimeno at wanadoo dot es
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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-29 08:45 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 12:00:03 2025 UTC