#49292 [Opn->Fbk]: infinite recursive call in ob_011.phpt

From: Date: Thu, 20 Aug 2009 11:22:07 +0000
Subject: #49292 [Opn->Fbk]: infinite recursive call in ob_011.phpt
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-141300@lists.php.net to get a copy of this message
 ID:               49292
 Updated by:       jani@php.net
 Reported By:      dmendolia@php.net
-Status:           Open
+Status:           Feedback
 Bug Type:         Output Control
 Operating System: Linux
 PHP Version:      5.2.11RC1
 New Comment:

Exactly how does it end up in infinite loop? It fails as expected for
me, just as it has since it was added..


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

[2009-08-19 08:45:52] dmendolia@php.net

Description:
------------
When you call :

make test TESTS=./tests/output/ob_011.phpt

see :
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/tests/output/ob_011.phpt?view=markup

The execution don't fail anymore, consequence a infinite recursive
call.

1) ob_start having a function in call back with ob_get_flush inside.
2) ob_get_flush invoking the callback function of ob_start



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


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



Thread (9 messages)

« previous php.bugs (#141300) next »