[PHP-DEV] Re: [PATCH] adding stream wrappers to include_path

2008-03-21 Thread Dmitry Stogov
Hi Greg, At least your patch is incomplete. Even it handles stream wrappers in include(), include_once() it doesn't handle them in fopen() and some other functions. In general I like the idea, so I'll look how to extend the support. Thanks. Dmitry. Gregory Beaver wrote: Hi, I found some ti

Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Greg Beaver
Pierre Joye wrote: Hi Dmitry, On Thu, Mar 13, 2008 at 12:25 PM, Dmitry Stogov <[EMAIL PROTECTED]> 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

[PHP-DEV] Re: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Greg Beaver
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. :( Hi Dmitry, I strongly encourage you to take a few more seconds actually looking at the messa

Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Pierre Joye
Hi Dmitry, On Thu, Mar 13, 2008 at 12:25 PM, Dmitry Stogov <[EMAIL PROTECTED]> 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 a

RE: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Dmitry Stogov
age- > From: Pierre Joye [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 2:12 PM > To: Dmitry Stogov > Cc: Gregory Beaver; internals Mailing List > Subject: Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to > include_path > > > On Thu, Mar 13, 2

Re: [PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Pierre Joye
On Thu, Mar 13, 2008 at 11:55 AM, Dmitry Stogov <[EMAIL PROTECTED]> 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?

[PHP-DEV] RE: [PATCH] adding stream wrappers to include_path

2008-03-13 Thread Dmitry Stogov
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. :( Thanks. Dmitry. > -Original Message- > From: Gregory Beaver [mailto:[EMAIL PROTECTED] > Sent: Friday, March