note 93948 deleted from function.is-link by danbrown

From: Date: Thu, 08 Oct 2009 13:24:19 +0000
Subject: note 93948 deleted from function.is-link by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161512@lists.php.net to get a copy of this message
Note Submitter: LGB ---- I have the experience that is_link("/tmp/test/") failed, but is_link("/tmp/test") is not, which is may be the expected behaviour, but it's quite annoying, since I have path names stored in config files, and sometimes they are with "/" at the end. So now I always rtrim() the "/" from the filename before I test them ...

« previous php.notes (#161512) next »