Re: RFE to allow dirname($foo, 2)
| From: | Dennis Birkholz | Date: | Sat, 25 Jul 2015 14:11:38 +0000 |
| Subject: | Re: RFE to allow dirname($foo, 2) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87288@lists.php.net to get a copy of this message | ||
Hi,
Am 23.07.2015 um 11:54 schrieb Josh Di Fabio:
> Now, most often, dirname(... dirname(__DIR__) ...) is used in application entry
> points during the bootstrapping process. In my experience, it's most commonly
> used in order to include an autoloader or some bootstrap file which itself is
> responsible for including the autoloader.
doesn't work __DIR__.'/../../' on Windows also? Why do you need
dirname() here?
Greets
Dennis