PHP readlink() 函数

定义和用法
readlink() 函数返回符号连接指向的目标。
若成功,则该函数返回连接的目标。若失败,则返回 false。
语法
readlink(linkpath)
参数 | 描述 |
---|---|
linkpath | 必需。规定要检查的连接路径。 |
提示和注释
注释:本函数未在 Windows 平台下实现。。
例子
<?php
echo readlink("/user/testlink");
?>
echo readlink("/user/testlink");
?>
