Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65529 invoked by uid 1010); 31 Oct 2003 23:45:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 65505 invoked from network); 31 Oct 2003 23:45:51 -0000 Received: from unknown (HELO p15139518.pureserver.info) (217.160.220.48) by pb1.pair.com with SMTP; 31 Oct 2003 23:45:51 -0000 Received: from mahono.de (p5087EA0F.dip0.t-ipconnect.de [80.135.234.15]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by p15139518.pureserver.info (Postfix) with ESMTP id BD43920405F; Sat, 1 Nov 2003 00:45:50 +0100 (CET) Message-ID: <3FA2F425.5030004@mahono.de> Date: Sat, 01 Nov 2003 00:45:41 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030910 Debian/1.4-4.he-1 X-Accept-Language: de, de-at MIME-Version: 1.0 To: "Frank M. Kromann" Cc: internals@lists.php.net References: <10676418982360000@9866357972520000.9866341568840000> In-Reply-To: <10676418982360000@9866357972520000.9866341568840000> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] file_exists() bug with windows? From: php@mahono.de (Matthias Nothhaft) Did you check this under Windows? Frank M. Kromann wrote: > 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 >> > >