Re: Segfault in ob_*() callback

From: Date: Sun, 01 Sep 2002 16:02:36 +0000
Subject: Re: Segfault in ob_*() callback
References: 1 2 3 4 5 6 7 8  Groups: php.dev 
Request: Send a blank email to php-dev+get-87690@lists.php.net to get a copy of this message
Marcus Börger wrote: > The problem here again is that in ob handlers no ob_xxx() function can > be called. FYI: I know that I shouldn't do that, but I tried <?php class Test { function Test() { ob_start(array($this, 'transform')); } function transform($buffer) { ob_end_clean(); return $buffer; } } $test = new Test; ?> out of curiosity, while trying to get Cache_Lite working with XML_Transformer. It'd be okay IMHO to prohibit ob_*() calls inside a handler. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.dev (#87690) next »