Re: realpath() on MacOSX doesn't normalize the case of characters
| From: | Nicolas Grekas | Date: | Wed, 05 Aug 2015 15:30:28 +0000 |
| Subject: | Re: realpath() on MacOSX doesn't normalize the case of characters | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87651@lists.php.net to get a copy of this message | ||
>
> For windows, there is no path normalization either btw. It would makes
> realpath more expensive.
>
I don't know what you mean by "no path normalization", but as far as the
case is concerned, there IS normalization:
var_dump(realpath(strtolower(__FILE__)));
var_dump(realpath(strtoupper(__FILE__)));
displays two times exactly the same string on Windows