hi all! On Sat, Aug 9, 2008 at 12:41 PM, Hannes Magnusson <[EMAIL PROTECTED]> wrote: > On Sat, Aug 9, 2008 at 12:31, Dmitry Stogov <[EMAIL PROTECTED]> wrote: >> Where is it documented? > > http://php.net/realpath > http://www.ipnom.com/FreeBSD-Man-Pages/realpath.3.html
"On BSD systems realpath() doesn't fail if only the last path component doesn't exist, while other systems will return FALSE." This behavior has genearated enough pain in the past to be dropped. The key problem in php application is portability. I'm in favor of dropping this BSD specific thing in 5.3+. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php