← All docs

spl_autoload_register() — internals

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

spl_autoload_register() — internals

Where it lives

Lowering notes

  • Lowers autoload registration stubs by preserving arg effects and returning true.

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function spl_autoload_register(callable $callback = null, bool $throw = true, bool $prepend = false): bool

What the type checker enforces

  • Arity: takes 0–3 arguments (3 optional).

Eval interpreter (magician)

Cross-references