ID:               6853
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      4.0.2
 New Comment:

Don't know if this was some bug or what but with latest
CVS and PHP 4.2.0-dev it returns true if link exists (even
if the destination doesn't).


Previous Comments:
------------------------------------------------------------------------

[2000-09-22 11:08:26] [EMAIL PROTECTED]

If the destination of a link is not found, is_link will return false.
Performing readlink on the link still returns the intended destination.
The link, regardless of whether the destination exists or not, is still
a link. Wouldn't it make more sense to have is_link return true, and
allow the user to then perform checks to see whether the destination is
valid?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=6853&edit=1

Reply via email to