On Fri, 31 Oct 2003 23:35:08 +0100 [EMAIL PROTECTED] (Matthias Nothhaft) wrote:
> 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
Hmm,
I would say "no file" will always exist.
Therefore I would call that behaviour undefined.
thomas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php