isSymlink.php
Table of Contents
Functions
- isSymlink() : bool
- Tells whether a path is a symbolic link.
Functions
isSymlink()
Tells whether a path is a symbolic link.
isSymlink(string $path) : bool
Thin wrapper around is_link(): returns false (never throws) for a regular
file, a directory, or a non-existent path.
Parameters
- $path : string
-
The path to test.
Tags
Return values
bool —true if $path is a symbolic link, false otherwise.