Bug #6853 Updated: is_link malfunction?

From: Date: Tue, 02 Apr 2002 00:40:18 +0000
Subject: Bug #6853 Updated: is_link malfunction?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3778@lists.php.net to get a copy of this message
ID: 6853 Updated by: sniper@php.net Reported By: kittengrey@ntlworld.com -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] kittengrey@ntlworld.com 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

« previous php.bugs (#3778) next »