php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29093 ob_end_clean return broken
Submitted: 2004-07-11 15:39 UTC Modified: 2004-07-12 03:09 UTC
From: sami at oriontransfer dot mine dot nu Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.0.0RC3 OS: linux 2.6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sami at oriontransfer dot mine dot nu
New email:
PHP Version: OS:

 

 [2004-07-11 15:39 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-11 17:42 UTC] 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-12 02:50 UTC] 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-12 03:09 UTC] magnus@php.net
Not a bug => Bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 23:01:31 2024 UTC