Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8107 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5155 invoked by uid 1010); 24 Feb 2004 23:00:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5086 invoked from network); 24 Feb 2004 23:00:55 -0000 Received: from unknown (HELO asuka.nerv) (24.100.195.79) by pb1.pair.com with SMTP; 24 Feb 2004 23:00:55 -0000 Received: (qmail 26403 invoked from network); 24 Feb 2004 23:00:54 -0000 Received: from rei.nerv (HELO dummy.com) (rei@192.168.1.1) by asuka.nerv with SMTP; 24 Feb 2004 23:00:54 -0000 Reply-To: ilia@prohost.org To: internals@lists.php.net Date: Tue, 24 Feb 2004 18:01:00 -0500 User-Agent: KMail/1.5.94 References: <4E85B26A-6716-11D8-B780-003065F88EBA@firehawksystems.com> In-Reply-To: <4E85B26A-6716-11D8-B780-003065F88EBA@firehawksystems.com> Organization: Prohost.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: <200402241801.00162.ilia@prohost.org> Subject: Re: [PHP-DEV] Patch now or wait From: ilia@prohost.org (Ilia Alshanetsky) Why is this needed? As far as I know curl extension already prints to screen by default. The only instance where this maybe useful, is when making multiple request via the same handle and you want to print only the output of certain requests, which seems rather strange to me. Ilia On February 24, 2004 05:10 pm, Brian J. France wrote: > I have already run this past Sterling, but figured I would make sure > there are no other objections to applying this patch to both 4.3 and > HEAD. > > It allows switching back to the standard output by calling: > > curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0); > > Thanks, > > Brian