[PHP-DEV] Problem with output buffering. From: Eduardo Dominguez (lalo_dominguez <email protected>)
Date: 12/06/00

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!

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>