is_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.