PHP is_link() Function

PHP is_link Function


Definition : 

The PHP is_link() function checks whether the given filename is a symbolic link.

Note: The results of this function are cached. Use clearstatcache() function to clear the cache.

Syntax

  is_link(file)

Parameter
Parameter Description
file Required. Specifies the path to the file to check

 Given below example Check whether the specified filename is a symbolic link:

Output : images is not a link