← All docs

link()

Creates a hard link.

function link(string $target, string $link): bool

Creates a hard link.

Parameters:

  • $target (string)
  • $link (string)

Returns: bool

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how link is implemented in the compiler, see the internals page.