Re: [PHP-DEV] stat functions do each path component?

2010-10-08 Thread jvlad
> Hi. > > This was discussed before. > see > http://www.mail-archive.com/internals@lists.php.net/msg37211.html > > Tyrael > Rasmus meant (include|requrie)_once, where the same files should be caught indeed. As of file_exists(), why would it need realpath's logic at all? -jv -- PHP Internals

Re: [PHP-DEV] stat functions do each path component?

2010-10-08 Thread Michael Shadle
On Fri, Oct 8, 2010 at 2:47 AM, jvlad wrote: >> Hi. >> >> This was discussed before. >> see >> http://www.mail-archive.com/internals@lists.php.net/msg37211.html >> >> Tyrael I have a question after reading through that thread - apc.include_once_override - boolean, default is 0 Optimize include_o

Re: [PHP-DEV] stat functions do each path component?

2010-10-08 Thread Johannes Schlüter
On Fri, 2010-10-08 at 13:47 +0400, jvlad wrote: > Rasmus meant (include|requrie)_once, where the same files should be caught > indeed. > As of file_exists(), why would it need realpath's logic at all? In case open_basedir is enabled we have to do some more verifications, as we have to resolve the

Re: [PHP-DEV] stat functions do each path component?

2010-10-08 Thread jvlad
>> Rasmus meant (include|requrie)_once, where the same files should be >> caught >> indeed. >> As of file_exists(), why would it need realpath's logic at all? > > In case open_basedir is enabled we have to do some more verifications, > as we have to resolve the true base. > > johannes > > Good poi