PHP function is_link()

Availability in PHP 4.0

Tells whether the filename is a symbolic link

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

bool

true if the filename exists and is a symbolic link, false otherwise.

Other resources

Official is-link documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.