← All docs

filegroup() — internals

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

filegroup() — internals

Where it lives

Lowering notes

  • Lowers filegroup(path) and boxes the runtime integer-or-false result.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_filegroup
  • __rt_fileinode
  • __rt_filetype
  • __rt_stat_array

Signature summary

function filegroup(string $filename): mixed

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references