Hrm, it *is* intentional.  But we may need to do something smarter here.
One thing that I don't understand - one can't really call virtual() on 
another PHP file, can she?

Zeev

At 17:18 19/2/2001, André Langhorst wrote:
>I tried (and failed) to figure out why virtual() closes any output buffers,
>I think this is not very gentle, could anybody enlighten me?
>
>andré
>
>
>--
>· André Langhorst        t: +49 331 5811560 ·
>· [EMAIL PROTECTED]          m: +49 173 9558736 ·
>* PHP Quality Assurance  http://qa.php.net  *
>
>
>Return-Path: <[EMAIL PROTECTED]>
>Received: from toye.php.net (va.php.net [198.186.203.51])
>         by itbnet.de (8.9.3/8.8.8) with SMTP id GAA14244
>         for <[EMAIL PROTECTED]>; Tue, 20 Feb 2001 06:15:51 +0100
>Received: (qmail 12298 invoked by uid 1013); 20 Feb 2001 05:13:14 -0000
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Delivered-To: mailing list [EMAIL PROTECTED]
>Received: (qmail 12292 invoked from network); 20 Feb 2001 05:13:12 -0000
>Date: 20 Feb 2001 05:14:39 -0000
>Message-ID: <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>From: [EMAIL PROTECTED]
>Subject: [PHP-DEV] PHP 4.0 Bug #8536 Updated: ob_start() is not working 
>with virtual() function
>MIME-Version: 1.0
>
>ID: 8536
>Updated by: andre
>Reported By: [EMAIL PROTECTED]
>Old-Status: Open
>Status: Assigned
>Bug Type: Output Control
>Assigned To: andre
>Comments:
>
>in php_apache.c (line 324) if have found the following
>
>php_end_ob_buffers(1);
>php_header();
>
>I guess this is intended to avoid some confusion with sent
>headers, but if we (have to) close all buffers it should be
>mentioned in the documentation (at least)
>anyway I do not really understand this drastic closure of
>open buffers
>
>Previous Comments:
>---------------------------------------------------------------------------
>
>[2001-01-03 10:48:03] [EMAIL PROTECTED]
>Output of virtual() function didn't seem to work with
>ob_start() function. Is there any way to store the output of
>virtual()?
>
>---------------------------------------------------------------------------
>
>
>
>ATTENTION! Do NOT reply to this email!
>To reply, use the web interface found at http://bugs.php.net/?id=8536&edit=2
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to