symlink

It creates a symbolic link

Example

<?php

$link = ‘test’;

symlink(“test.txt”, $link);

echo readlink($link);

?>

Output

test.txt

Share