At 02:42 AM 1/25/2003 +0200, Andi Gutmans wrote:
At 04:32 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
> I can't really think of any way of getting around this. include_once() and
> require_once() are basic language constructs and they require this.

Well, they require us to be able to uniquely identify a file, they do not
necessarily require us to know the canonical filename.  This could be done
in a single stat where we grab the device number and inode.
Yeah but on broken systems single stat's also stat each directory (AFAIK). I don't think it's any faster or at least not noticably.
Just want to correct myself. I don't think it's broken systems but I do think stat() is more or less the same as realpath(). It will still internally stat() each directory.

Andi


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

Reply via email to