Yet Another Output Buffering Issue (YAOBI)
| From: | Sebastian Bergmann | Date: | Mon, 16 Sep 2002 08:48:49 +0000 |
| Subject: | Yet Another Output Buffering Issue (YAOBI) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88338@lists.php.net to get a copy of this message | ||
This
function end_logic($cdata) {
ob_start();
eval($cdata);
$buffer = ob_get_contents();
ob_end_clean();
return $buffer;
}
gives, when called inside an output buffer, different results depending
on the PHP version used:
PHP 4.2.3
Fatal error: Cannot use output buffering in output buffering
display handlers
HEAD
Neither output nor error message.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/