Re: file_exists() bug with windows?

From: Date: Sat, 01 Nov 2003 01:12:28 +0000
Subject: Re: file_exists() bug with windows?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-5156@lists.php.net to get a copy of this message
On Fri, 31 Oct 2003 23:35:08 +0100 php@mahono.de (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

« previous php.internals (#5156) next »