Bug #14294: is_dir() causes stat failed warning
| From: | mike at hbhosting dot com | Date: | Fri, 30 Nov 2001 02:28:20 +0000 |
| Subject: | Bug #14294: is_dir() causes stat failed warning | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72087@lists.php.net to get a copy of this message | ||
From: mike@hbhosting.com
Operating system: FreeBSD 4.3
PHP version: 4.1.0
PHP Bug Type: Filesystem function related
Bug description: is_dir() causes stat failed warning
In PHP 4.1 RC3 (non CVS release), the is_dir() function causes a warning
that says "stat failed on /your/path" if the path does not exist.
This was causing havok with scripts of mine that relied on no output for
errors.. Of course I just suppressed the message, but it really shouldnt be
there. The function is designed to check for an existing dir, it should
work without warnings!
Hopefully this can be fixed in the next release.
On a side note, PHP 4.1 (CVS version) does not install under FreeBSD 4.3.
However the version available at
http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
does work!
Thanks guys.....
--
Edit bug report at: http://bugs.php.net/?id=14294&edit=1