← All docs

vprintf() — internals

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

vprintf() — internals

Where it lives

Lowering notes

  • Lowers vprintf(format, values) as vsprintf() followed by stdout emission.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_sprintf

Signature summary

function vprintf(string $format, array $values): int

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references