Re: Re: alternative to the fopen() hack in autoloaders
| From: | Ralph Schindler | Date: | Thu, 12 Nov 2009 14:19:30 +0000 |
| Subject: | Re: Re: alternative to the fopen() hack in autoloaders | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46031@lists.php.net to get a copy of this message | ||
IIRC, Sara created this as a proof of concept to a reoccurring question of why filesystem functions don't have an include include_path argument. Many members argued (and for good merit), that any fs operations should not include the include_path. It was put into trunk and forgotten about, but ironically documented.
Commentary:
http://devzone.zend.com/node/view/id/1514#Heading7
-ralph
Stanislav Malyshev wrote:
Hi!Isn't this what stream_resolve_include_path does?I wasn't even aware it was there (it being undocumented doesn't help a lot). And it is listed as PHP 6 only. I guess if we fix it to work correctly and backport to 5.3 (or even 5.2?) it may just work for frameworks.