Re: [PATCH] adding stream wrappers to include_path
| From: | Greg Beaver | Date: | Fri, 14 Mar 2008 02:35:20 +0000 |
| Subject: | Re: [PATCH] adding stream wrappers to include_path | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36131@lists.php.net to get a copy of this message | ||
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 message you quoted (and perhaps the patch included) before jumping to hasty conclusions. The patch was developed on ubuntu linux which indeed uses ":" as the path separator and yet strangely enough, the test scripts (which you kindly quoted in your reply) actually work with my patch! In other words, this include_path: ".:/usr/local/lib/php:phar://whatever.phar/internal/path" works just fine on unix, and this one: ".;C:\php5;phar://whatever.phar/internal/path" works just fine on windows. Greg