← All docs

lchgrp() — internals

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

lchgrp() — internals

Where it lives

Lowering notes

  • Lowers lchgrp(path, group) for integer GIDs and string group names without following symlinks.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_umask

Signature summary

function lchgrp(string $filename, string $group): bool

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references