English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and Examples of PHP readlink() Function

PHP Filesystem Reference Manual

The readlink() function can return the target of a symbolic link, and this function can return the target of the link when successful, and return false when failed.

Syntax

string readlink ( string $path )

The readlink() function is the same as the C function readlink.

Online Example

<?php
   echo readlink("/PhpProject/testlink");
?>

PHP Filesystem Reference Manual