php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47440 DOC: ob_start(): $chunk_size=1 no longer has special behaviour in PHP6
Submitted: 2009-02-18 16:45 UTC Modified: 2009-11-19 12:07 UTC
From: robin_fernandes at uk dot ibm dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
 [2009-02-18 16:45 UTC] robin_fernandes at uk dot ibm dot com
Description:
------------
The documentation for ob_start() states that passing the $chunk_size parameter as value 1 sets the actual chunk size to 4096.

That statement is no longer true on PHP6. It would be great if the documentation could explicitly state this change in behaviour.

(Some background: this was initially addressed as a functional problem under bug 46903, which made PHP6 behave like PHP5. However, this was reverted following discussion on the internals list: http://marc.info/?l=php-internals&m=123476465621346&w=2 )

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-19 12:07 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.


 [2009-11-19 12:07 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290983
Log: Value 1 is not special in PHP 6 (bug #47440)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 02 10:00:02 2025 UTC