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.
is_link(file)
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