Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36132 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33436 invoked from network); 14 Mar 2008 02:40:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2008 02:40:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 38.99.98.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:44839] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/EA-05996-485E9D74 for ; Thu, 13 Mar 2008 21:40:04 -0500 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 329EFC106A2; Thu, 13 Mar 2008 19:40:02 -0700 (MST) Received: from [192.168.0.103] (c-71-192-42-104.hsd1.ma.comcast.net [71.192.42.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 6A923C106A1; Thu, 13 Mar 2008 19:40:01 -0700 (MST) Message-ID: <47D9E57E.4040601@chiaraquartet.net> Date: Thu, 13 Mar 2008 21:39:58 -0500 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Pierre Joye CC: Dmitry Stogov , internals Mailing List References: <06B0D32C7A96544490D18AF653D6BDE5026BA120@il-ex1.zend.net> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path From: greg@chiaraquartet.net (Greg Beaver) Pierre Joye wrote: > Hi Dmitry, > > On Thu, Mar 13, 2008 at 12:25 PM, Dmitry Stogov wrote: >> It is too difficult for extension that is not in the core distribution >> yet. >> For now I think it is simple to override zend_stream_open_function() and >> zend_resolve_path_function() callbacks by ext/phar and provide something >> like phar.include_path directive. > > It is indeed a solution. But my point was to support quotes in the > include_path, no matter if an extension needs it or not. However it is > not that critical and nobody has complained about this problem before Actually, this feature was requested several times (and immediately dismissed) about 2 years ago, first by Francois Laupretre, I think, but I've heard it requested many times. Until I realized how easy it is to implement, I was actually against this kind of thing. I strongly encourage those who have the impulse to dismiss the patch to actually try it. For no performance hit, it adds big functionality to PHP. To be ultra-clear, the patch is not phar-specific. Greg