Re: file_exists() bug with windows?
| From: | Frank M. Kromann | Date: | Fri, 31 Oct 2003 23:11:38 +0000 |
| Subject: | Re: file_exists() bug with windows? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-5154@lists.php.net to get a copy of this message | ||
Hi Matthias,
Not sure if this has changed but with the current developmnet versions of
both php4 and php5 this function returns false for both null and empty
string.
- Frank
> Hi List,
>
> I noticed that
>
> file_exists(""); // or null instead of ""
>
> under my Windows machine
> with php 4.2.2 returns true!?
>
> My Debian machine with php 4.3.3 works fine
> and returns false!
>
> Am I alone with that problem or is it a bug?
>
> Regards,
> Matthias
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>