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 > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php