I would expect different results from dirname() on win32 and linux, I am pretty stuck with it, perhaps there is a RFC for this? should this function act differently on win32+linux what would make code unportable but working correctly? dirname() seems to be buggy, at least on win32, these are the expected values from the test file: --EXPECT-- dirname(/foo/) == / dirname(/foo) == / dirname(/foo/bar) == /foo dirname(d:\foo\bar.inc) == . dirname(/) == / dirname(.../foo) == ... dirname(./foo) == . dirname(foobar///) == . dirname(c:\foo) == . what I would expect... dirname(/foo/) == /foo dirname(/foo) == / dirname(/foo/bar) == /foo dirname(d:\foo\bar.inc) == d:\foo dirname(/) == / dirname(.../foo) == ????? (dunno linux+win32) dirname(./foo) == . (win32?) dirname(foobar///) == . (???) dirname(c:\foo) == ???? I really do not know what to do with this issue. andré -- · André Langhorst t: +49 331 5811560 · · [EMAIL PROTECTED] m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net * -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]