From:             michael at tapinternet dot com
Operating system: debian linux
PHP version:      4.3.4
PHP Bug Type:     Output Control
Bug description:  ob_end_flush behaviour change

Description:
------------
ob_end_flush used to completely trim all output that had been collected,
including whitespace at the end of previously included files.  That's not
happening after an upgrade to PHP 4.3.4 (from 4.3.1).  

EXAMPLE:
test.php
<?
$foo='';
?>
     <--- note whitespace here



bar.php
<?
include('test.php');
ob_end_flush();
header("Content-type: application/ms-word");
echo "foobar";
?>

'foobar' will have a linebreak *before* it, even though the ob_end_flush()
function has been called.


-- 
Edit bug report at http://bugs.php.net/?id=26507&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26507&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26507&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26507&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26507&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26507&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26507&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26507&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26507&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26507&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26507&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26507&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26507&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26507&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26507&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26507&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26507&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26507&r=float

Reply via email to