Re: exploring include_path options for pecl/phar

From: Date: Tue, 04 Mar 2008 14:09:24 +0000
Subject: Re: exploring include_path options for pecl/phar
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5156@lists.php.net to get a copy of this message
Hi Greg,
2b) design a more intelligent include_path parser that recognizes phar stream wrappers this would almost completely solve the problem, as it would then allow putting full phar:// stream paths inside include_path. No changes would need to be made to the PHP code, as interception of include_path-related stuff would happen inside pecl/phar. Can anyone think of a problem with 2b? I can't think of any and it is really ridiculously simple, but my intuition is nagging me that I am missing something that is a problem with this approach.
The only problem I can see with it is that it presumably means you'll need ext/phar enabled before you can use any pharballed application that isn't entirely standalone, is that correct? or could this interception magic be integrated into the default stub? - Steph

« previous php.pecl.dev (#5156) next »