php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60321 ob_get_status(true) no longer returns an array when buffer is empty
Submitted: 2011-11-17 21:39 UTC Modified: 2011-11-18 00:17 UTC
From: weierophinney@php.net Assigned: pierrick (profile)
Status: Closed Package: Output Control
PHP Version: 5.4.0RC1 OS: Linux 64bit
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: weierophinney@php.net
New email:
PHP Version: OS:

 

 [2011-11-17 21:39 UTC] weierophinney@php.net
Description:
------------
Prior to 5.4.0RC1, ob_get_status(true) would always return an array, even if no 
buffers were present. With 5.4.0RC1, it now returns boolean false.

Test script:
---------------
$return = ob_get_status(true);                                                  
var_export($return);

Expected result:
----------------
array(
)

Actual result:
--------------
false

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-18 00:16 UTC] pierrick@php.net
Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=319428
Log: Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty).
 [2011-11-18 00:17 UTC] pierrick@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2011-11-18 00:17 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2012-04-18 09:47 UTC] laruence@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52ca90428dffb8b998c701fa957934f31b306fab
Log: Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty).
 [2012-07-24 23:38 UTC] rasmus@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52ca90428dffb8b998c701fa957934f31b306fab
Log: Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty).
 [2013-11-17 09:35 UTC] laruence@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52ca90428dffb8b998c701fa957934f31b306fab
Log: Fixed bug #60321 (ob_get_status(true) no longer returns an array when buffer is empty).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 16:01:33 2024 UTC