<?php symlink(string $target, string $link): bool
<?php public function link($target, $link) { if (! windows_os()) { return symlink($target, $link); } $mode = $this->isDirectory($target) ? 'J' : 'H';
<?php $symlink = "{$symlinkDir}/symlink.txt"; mkdir($symlinkDir); symlink($tempFile, $symlink); chmod($symlinkDir, 0555);