Re: dirname()
| From: | rasmus@php.net | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: dirname() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-13287@lists.php.net to get a copy of this message | ||
> I was just wondering whether the dirname() is really supposed to
> return its argument unchanged if there is no directory component. For
> instance, if you feed 'index.html' into GNU dirname, you get '.' back;
> in PHP, you get 'index.html'. Is there a great desire to change this,
> or should I just document the difference?
Hrm.. It probably should be changed. I'll look into it.
-Rasmus