← All docs

lchgrp()

Changes group ownership of a symlink.

lchgrp()

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

Changes group ownership of a symlink.

Parameters:

  • $filename (string)
  • $group (string)

Returns: bool

Availability

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

Internals

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