PHP 4.0 Bug #9748 Updated: wrong behavior of is_dir() and is_file() on a dir-link
| From: | ohrn@php.net | Date: | Tue, 20 Mar 2001 22:25:25 +0000 |
| Subject: | PHP 4.0 Bug #9748 Updated: wrong behavior of is_dir() and is_file() on a dir-link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49561@lists.php.net to get a copy of this message | ||
ID: 9748
Updated by: ohrn
Reported By: fabiankessler@usa.net
Old-Status: Open
Status: Feedback
Bug Type: *Directory/Filesystem functions
Assigned To:
Comments:
What do you mean with directory link?
A Windows "shortcut" to a directory?
Previous Comments:
---------------------------------------------------------------------------
[2001-03-14 11:11:38] fabiankessler@usa.net
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9748&edit=2