#32953 [Opn->WFx]: ob calls into ob handler

From: Date: Mon, 16 May 2005 19:28:18 +0000
Subject: #32953 [Opn->WFx]: ob calls into ob handler
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79059@lists.php.net to get a copy of this message
ID: 32953 Updated by: derick@php.net Reported By: momo@php.net -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: RHEL 3 PHP Version: 4.3.11, 5.0.4 New Comment: Same reasons as why we won't protect against infinity recursion. Previous Comments: ------------------------------------------------------------------------ [2005-05-15 13:36:19] momo@php.net It was nice if php will dedect the recursive and take the control before the segfault, and generate modest error message. if for any reason thats not possible, preventing call of the error hander function within the the same error handler function 'll be handy. ------------------------------------------------------------------------ [2005-05-11 21:59:44] tony2001@php.net 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(); ?> ------------------------------------------------------------------------ [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

« previous php.bugs (#79059) next »