ID:               46908
 Updated by:       j...@php.net
 Reported By:      chinello at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: Windows
 PHP Version:      5.2.8
 New Comment:

You have output_buffering = on in your php.ini. Just turn it off and 
you'll get the notices.


Previous Comments:
------------------------------------------------------------------------

[2008-12-19 19:05:26] chinello at gmail dot com

Description:
------------
ob_end_clean() is not producing notices as stated by the manual.
This error has been reported before on bug #14226 dated 2 Jan 2002.

Reproduce code:
---------------
<?php
echo 'foo';

ob_end_clean();

echo 'bar';
?>

Expected result:
----------------
If ob_end_clean() would only return false, because we have not created
the buffer, then the expected result would be: 

foobar

Actual result:
--------------
bar


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


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

Reply via email to