← All docs

vsprintf() — internals

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

vsprintf() — internals

Where it lives

Lowering notes

  • Lowers vsprintf(format, values) through the array-to-sprintf runtime bridge.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_sprintf

Signature summary

function vsprintf(string $format, array $values): string

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references