Edit report at https://bugs.php.net/bug.php?id=60321&edit=1

 ID:                 60321
 Updated by:         pierr...@php.net
 Reported by:        weierophin...@php.net
 Summary:            ob_get_status(true) no longer returns an array when
                     buffer is empty
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Output Control
 Operating System:   Linux 64bit
 PHP Version:        5.4.0RC1
-Assigned To:        
+Assigned To:        pierrick
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[2011-11-18 00:16:47] pierr...@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-17 21:39:21] weierophin...@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


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60321&edit=1

Reply via email to