← All docs

symlink() — internals

Compiler internals for symlink(): lowering path, type checks, and runtime helpers.

Where it lives

Lowering notes

  • Lowers symlink(target, link) through the target-aware libc wrapper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_fileatime
  • __rt_link
  • __rt_readlink
  • __rt_symlink

Signature summary

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

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references