Re: is_file and file_exists not case sensitive?
| From: | Christoph M. Becker | Date: | Sat, 21 Mar 2020 09:25:21 +0000 |
| Subject: | Re: is_file and file_exists not case sensitive? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327071@lists.php.net to get a copy of this message | ||
On 21.03.2020 at 02:37, Andrey Repin wrote:
> Greetings, Lester Caine.
>
> In reply to Your message dated Wednesday, March 18, 2020, 1:03:49,
>
>> On 17/03/2020 19:11, Sam Hobbs wrote:
>>
>>> You still did not answer the question of what OS. The answer for Windows
>>> is not simple. So before doing exotic testing, you really should look at
>>> the documentation for the relevant OS.
>>
>> He said he is on MacOS and the other answers align up with that. The
>> problem is that while Windows is reliably case insensitive and crap on
>> unicode file names,
>
> That's not really true. Windows can be configured for anything you wish, and
> UNICODE names were a problem of PHP, which was solved not-very-recently in V7.
More precisely, as of PHP 7.1.0:
<https://www.php.net/manual/en/migration71.windows-support.php#migration71..windows-support.long-and-utf8-path>.
--
Christoph M. Becker