Problem with output buffering.
| From: | Eduardo Dominguez | Date: | Wed, 06 Dec 2000 17:20:50 +0000 |
| Subject: | Problem with output buffering. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40230@lists.php.net to get a copy of this message | ||
I dont know if this is by design, but trying to nest a couple
of output buffers doesnt work for me.
Using Apache 1.3.12, php 4.03pl1 and win2k.
The issue is that the contents of a stacked call to ob_start
get discarded somehow, like:
<?php
ob_start();
echo "foo";
ob_start();
echo "ding";
ob_end_flush();
echo "bar";
ob_end_flush();
?>
Only "foobar" gets displayed. Is this by design ? The manual
didnt seem to suggest this case.
Thanks!