Re: Re: alternative to the fopen() hack in autoloaders

From: Date: Tue, 10 Nov 2009 20:28:26 +0000
Subject: Re: Re: alternative to the fopen() hack in autoloaders
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-46010@lists.php.net to get a copy of this message
Hi!
This would break security distinction between file ops and include ops, when URLs are allowed for open but not include.
Additional thing - it probably would be a problem for bytecode caches, since they'd have to: a. watch all file opens, in case some of these will later be used for include b. somehow be able to get filename back from open stream to get the cached file. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#46010) next »