Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP readlink() Function

PHP readlink() Function


PHP Filesystem Reference Manual Complete PHP Filesystem Reference Manual


Definition and Usage

The readlink() function returns the target of a symbolic link.

Returns the target of the link on success, or FALSE on failure.

Syntax

readlink(linkpath)

Parameters Description
linkpath Required. Specifies the path of the link to check.

Tips and Notes

**Note:** This function cannot be executed on Windows platforms.


Example


PHP Filesystem Reference Manual Complete PHP Filesystem Reference Manual