>> 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 



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to