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/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php