#21531 [Opn]: file_exists() displays warning along with returning FALSE
| From: | books at medianet dot pl | Date: | Wed, 08 Jan 2003 22:15:34 +0000 |
| Subject: | #21531 [Opn]: file_exists() displays warning along with returning FALSE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29481@lists.php.net to get a copy of this message | ||
ID: 21531
User updated by: books@medianet.pl
-Summary: file_exists() display warning along with returning
FALSE
Reported By: books@medianet.pl
Status: Open
Bug Type: Filesystem function related
Operating System: SunOS 5.8
PHP Version: 4.3.0
New Comment:
In case that file $file does not exist, invoking:
file_exists($file);
displays warning message, which should not take place.
I've noticed bug report for similar problem for 4.2.1, which was then
"fixed in CVS". Deja vu? ;)
Regards,
<kocio />
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 16:06:09] books@medianet.pl
In case that file $file does not exist, invoking:
file_exists($file);
displays warning message, which should not take place.
I've noticed bug report for similar problem for 4.2.1, which was then
"fixed in CVS". Deja vu? ;)
Regards,
<kocio />
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21531&edit=1