PHP 4.0 Bug #9748: wrong behavior of is_dir() and is_file() on a dir-link
| From: | fabiankessler at usa dot net | Date: | Wed, 14 Mar 2001 16:11:38 +0000 |
| Subject: | PHP 4.0 Bug #9748: wrong behavior of is_dir() and is_file() on a dir-link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48914@lists.php.net to get a copy of this message | ||
From: fabiankessler@usa.net
Operating system: winnt 4.0
PHP version: 4.0.4
PHP Bug Type: *Directory/Filesystem functions
Bug description: wrong behavior of is_dir() and is_file() on a dir-link
on a directory link, is_dir() returns false while is_file() returns true.
i don't think this is the desired behavior, is it?
i see that ppl are confused here also
http://www.php.net/manual/en/function.is-dir.php
http://www.php.net/manual/en/function.is-file.php
--
Edit Bug report at: http://bugs.php.net/?id=9748&edit=1