(PHP 5 >= 5.1.3, PHP 7, PHP 8)
lchown — 修改符號鏈接的所有者
filename文件路徑。
user所有者名稱或編號
成功時返回 true, 或者在失敗時返回 false。
示例 #1 Changing the owner of a symbolic link
<?php
$target = 'output.php';
$link = 'output.html';
symlink($target, $link);
lchown($link, 8);
?>