php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #46254 confusing description of ob_get_flush
Submitted: 2008-10-08 13:29 UTC Modified: 2008-11-04 16:53 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: mateopl at yahoo dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 33 = ?
Subscribe to this entry?

 
 [2008-10-08 13:29 UTC] mateopl at yahoo dot com
Description:
------------
ob_get_flush description does not state that the output will be send to the screen as well as returned. This is very confusing and a time drain. Generally speaking all ob_* functions' documentaion could use some improvements (e.g. docs for 'get' functions never say if the flush is made by PHP or should be done by hand). Having so many functions for buffering functionality, while sometimes good, should be very well documented.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-04 16:53 UTC] vrana@php.net
Description of the function clearly states the behavior: "Flush the output buffer, return it as a string and turn off output buffering"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 23:01:29 2024 UTC