Re: php_apache.c virtual() enlightment needed

From: Date: Wed, 21 Feb 2001 04:41:06 +0000
Subject: Re: php_apache.c virtual() enlightment needed
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-47115@lists.php.net to get a copy of this message
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 ·
· andre@php.net          m: +49 173 9558736 ·
* PHP Quality Assurance http://qa.php.net * Return-Path: <php-dev-return-46977-A.Langhorst=itbnet.de@lists.php.net> 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 <A.Langhorst@itbnet.de>; 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 php-dev-help@lists.php.net; run by ezmlm Precedence: bulk Delivered-To: mailing list php-dev@lists.php.net Received: (qmail 12292 invoked from network); 20 Feb 2001 05:13:12 -0000 Date: 20 Feb 2001 05:14:39 -0000 Message-ID: <20010220051439.18103.qmail@php2.chek.com> To: php-dev@lists.php.net From: andre@php.net 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: cheol@helix.nih.gov 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] cheol@helix.nih.gov 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: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#47115) next »