Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5154 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33112 invoked by uid 1010); 31 Oct 2003 23:13:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33088 invoked from network); 31 Oct 2003 23:13:20 -0000 Received: from unknown (HELO mail.kromann.info) (64.186.239.125) by pb1.pair.com with SMTP; 31 Oct 2003 23:13:20 -0000 Received: from Swwwing2000 (unknown [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id 5BE3F2AF58; Fri, 31 Oct 2003 15:30:54 -0800 (PST) To: Matthias Nothhaft Cc: internals@lists.php.net X-Mailer: Swwwing 2000 Message-ID: <10676418982360000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Fri, 31 Oct 2003 15:11:38 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] file_exists() bug with windows? From: frank@kromann.info ("Frank M. Kromann") 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 >