note 8659 added to is_link

From: Date: Fri, 22 Sep 2000 15:52:08 +0000
Subject: note 8659 added to is_link
Groups: php.notes 
Request: Send a blank email to php-notes+get-5328@lists.php.net to get a copy of this message
If is_link() tests a link of which the destination file is invalid (deleted or whatever) it will return false. Similarly, filetype() will return a blank instead of "link". So you can use !filetype() to check for broken links. http://www.php.net/manual/function.is-link.php

« previous php.notes (#5328) next »