RE: [PHP-QA] test results for current CVS
| From: | Liz | Date: | Tue, 08 May 2001 18:35:19 +0000 |
| Subject: | RE: [PHP-QA] test results for current CVS | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-3183@lists.php.net to get a copy of this message | ||
> Besides the slashes I don't see where there's a bug. Can you please point
> it out?
As a stab in the dark..
> >dirname(/foo/) == /
I would have expected this to be /foo by the looks of it
> >dirname(/foo) == /
And this /foo
> >dirname(/foo/bar) == /foo
This depends if bar was a dir.
> >dirname(d:\foo\bar.inc) == .
this should be d:\foo perhaps?
> >dirname(/) == /
> >dirname(.../foo) == ...
Again, depends if foo is a directory
> >dirname(./foo) == .
and again
> >dirname(foobar///) == .
> >dirname(c:\foo) == .
if foo is a directory should be c:\foo or c:\ surely? or at least \ not .?