#32953 [Opn->Fbk]: ob calls into ob handler
| From: | tony2001@php.net | Date: | Wed, 11 May 2005 19:59:45 +0000 |
| Subject: | #32953 [Opn->Fbk]: ob calls into ob handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78906@lists.php.net to get a copy of this message | ||
ID: 32953
Updated by: tony2001@php.net
Reported By: momo@php.net
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: RHEL 3
PHP Version: 4.3.11, 5.0.4
New Comment:
What do you expect to get instead?
ob_end_flush() calls output handler, which in turn calls ob_end_flush()
and so on.
You'll get the same result with this code:
<?php
function f() {
f();
}
f();
?>
Previous Comments:
------------------------------------------------------------------------
[2005-05-05 12:20:54] momo@php.net
Description:
------------
the bellow generating Segmentation fault on both 4.3.11, 5.0.4
the gdb trace looks like infinit recursive.
Reproduce code:
---------------
<?
ob_start(create_function("","ob_end_flush();"));echo "123";
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32953&edit=1