Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36118 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44130 invoked from network); 13 Mar 2008 11:12:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2008 11:12:06 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.183 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.166.183 py-out-1112.google.com Received: from [64.233.166.183] ([64.233.166.183:17888] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/78-34038-30C09D74 for ; Thu, 13 Mar 2008 06:12:04 -0500 Received: by py-out-1112.google.com with SMTP id u77so3536508pyb.16 for ; Thu, 13 Mar 2008 04:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YfPkPPTVbeZ2VhphiqKt/tSlWoiDUzoOgwHtK+ul/cI=; b=M9R6TYjRc0RI5xqOvCTy0554Jx9Q5iD53g2icQ98PS0kV0wZIe6ql0usUWUJBO9k5N0py7dg7B83X4Q2q1KZB+mFIzxW3cE7e+FQNhxGsrcuuPlg7e5y2Zp/mgOiMiEvGXYqxZqrRSXIdm4qPV4H82Tblx5vG7ohV5PNAcdgAfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h4WJOS6g2O4Lseq4s3chWSo8d5IVhrZRMZlmPUb4uT7vH0kKqUBPBdwfj93IDWkl/AS5DuM9mWy/5yMydnSL0IGphgrM9xqZTMkiYJnhtcVG9tbGcwZ2chit68Inq46jlI3/2RK5Gh16IDkmpyP7MTGeuNz7d9Wy/G+DyXSwoPM= Received: by 10.141.132.8 with SMTP id j8mr5621348rvn.167.1205406721286; Thu, 13 Mar 2008 04:12:01 -0700 (PDT) Received: by 10.141.116.12 with HTTP; Thu, 13 Mar 2008 04:12:01 -0700 (PDT) Message-ID: Date: Thu, 13 Mar 2008 12:12:01 +0100 To: "Dmitry Stogov" Cc: "Gregory Beaver" , "internals Mailing List" In-Reply-To: <06B0D32C7A96544490D18AF653D6BDE5026BA103@il-ex1.zend.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <06B0D32C7A96544490D18AF653D6BDE5026BA103@il-ex1.zend.net> Subject: Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path From: pierre.php@gmail.com ("Pierre Joye") On Thu, Mar 13, 2008 at 11:55 AM, Dmitry Stogov wrote: > Hi Greg, > > In general include_path cannot contain pathes with ':' character, > because it is the POSIX path separator. > So I don't see a way to use stream wrappers in include_path. :( What's about quotes or escape? Quotes are somehow more readable and are already used in many places (generally not specifically in PHP). I can imagine a: set_include_path('"foo://something/bar"' . PATH_SEPARATOR . get_incude_path()); It may add some complexity in the parser but it can be really useful (well, for phar-like applications at least as I would not recommend too use that in normal apps :). Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org