← All docs

readlink()

Returns the target of a symbolic link.

function readlink(string $path): mixed

Returns the target of a symbolic link.

Parameters:

  • $path (string)

Returns: mixed

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

Internals

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