← All docs

phpversion() — internals

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

phpversion() — internals

Where it lives

Lowering notes

  • Lowers phpversion() as the compiler package version string.

Runtime helpers

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

Signature summary

function phpversion(): string

What the type checker enforces

  • Arity: takes no arguments.

Eval interpreter (magician)

Cross-references