Re: stat functions do each path component?

From: Date: Fri, 08 Oct 2010 11:19:02 +0000
Subject: Re: stat functions do each path component?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-49891@lists.php.net to get a copy of this message
>> 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 point, thanks. I think it makes sense to add a check for open_basedir value and avoid such lookups if it is not set. In many cases this setting is empty, right? -jv

« previous php.internals (#49891) next »