On Mar 30, 2010, at 1:44 PM, Brandon Savage wrote:

> I was looking for documentation today regarding ob_start(), and I noticed 
> that under the changelog the following is stated:
> 
> 6.0.0 Value 1 is no more special.
> 
> This clearly isn't grammatically correct, and doesn't communicate very well 
> what, if any, changes are being made to the ob_start() function in PHP 6.0.0. 
> Can someone let me know what this should be, and I'll be glad to fix it?

Good question. My general debugging approach involves staring at the commit 
logs, as typically people refer to reasons why a particular change was made. 
For the ob_start() change in question:

 - 
http://svn.php.net/viewvc/phpdoc/en/trunk/reference/outcontrol/functions/ob-start.xml?view=log

This commit was made by world renown doc bug squashing king Jakub Vrana, who 
refers to a particular bug report:

 - http://bugs.php.net/47440

This should lead you in the right direction, as it appears '1' will no longer 
magically mean '4096'. As for the "PHP 6" text, this issue of PHP 6 hasn't been 
addressed in the manual and is handled case-by-case. Not sure how best to 
handle it all yet, as it's a bit of an odd situation.

In the case of OB, it appears the big OB change will live in PHP 5.4 (although 
technically we don't know if 5.4 will exist either, but it has better odds 
being next than 6 imho).  However, the OB patch (the feather that broke PHP 6's 
back) does not appear committed anywhere yet so technically this change does 
not exist but if I was a betting man I'd wager it'll go in PHP 5.4... but I 
digress. We can worry about the version numbering later. :)

Regards,
Philip

Reply via email to