← All docs

lchown() — internals

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

lchown() — internals

Where it lives

Lowering notes

  • Lowers lchown(path, owner) for integer UIDs and string user names without following symlinks.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_umask

Signature summary

function lchown(string $filename, string $user): bool

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references