← All docs

pathinfo() — internals

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

pathinfo() — internals

Where it lives

Lowering notes

  • Lowers pathinfo(path, flags?) through string, array, or boxed dynamic helpers.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_pathinfo_array

Signature summary

function pathinfo(string $path, int $flags = 15): array

What the type checker enforces

  • Arity: takes 1–2 arguments (1 optional).

Eval interpreter (magician)

Cross-references