The is_link() function checks whether the specified file is a link.is_link — Tells whether the filename is a symbolic link
bool is_link ( string $filename )
Tells whether the given file is a symbolic link.
Returns TRUE if the filename exists and is a symbolic link, FALSE otherwise.
Parameter | Description |
---|---|
file | Required. Specifies the open file to check |
The result of this function are cached. Use clearstatcache() to clear the cache.