#29093 [Csd->Bgs]: ob_end_clean return broken
| From: | magnus@php.net | Date: | Mon, 12 Jul 2004 01:09:09 +0000 |
| Subject: | #29093 [Csd->Bgs]: ob_end_clean return broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62074@lists.php.net to get a copy of this message | ||
ID: 29093
Updated by: magnus@php.net
Reported By: sami at oriontransfer dot mine dot nu
-Status: Closed
+Status: Bogus
Bug Type: Output Control
Operating System: linux 2.6
PHP Version: 5.0.0RC3
New Comment:
Not a bug => Bogus
Previous Comments:
------------------------------------------------------------------------
[2004-07-12 02:50:24] sami at oriontransfer dot mine dot nu
okay, since the version where it worked, output buffers
have become stackable, so thats why it wasn't working..
i used to use multiple calls to ob_start to change the
handler function to catch fatal errors and parse errors
cleanly... sorry for wasting your time... note that some
version of php < 4.xsomething didn't used to have
stackable buffers as far as i know.
thanks
------------------------------------------------------------------------
[2004-07-11 17:42:28] magnus@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2004-07-11 15:39:16] sami at oriontransfer dot mine dot nu
Description:
------------
hi there is a very serious bug in the result of
ob_end_clean.. for some reason, it only works if i call
it twice, using the results from the second call.. i
don't really understand why...... this is very weird
behaviour, and this particular code was working fine in
php4 as far as i know.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29093&edit=1