readlink
(PHP 4, PHP 5, PHP 7, PHP 8)
readlink — 返回符号连接指向的目标
参数
path-
链接符号的路径。
示例
示例 #1 readlink() 示例
<?php
// output e.g. /boot/vmlinux-2.4.20-xfs
echo readlink('/vmlinuz');
?>(PHP 4, PHP 5, PHP 7, PHP 8)
readlink — 返回符号连接指向的目标
path链接符号的路径。
示例 #1 readlink() 示例
<?php
// output e.g. /boot/vmlinux-2.4.20-xfs
echo readlink('/vmlinuz');
?>