← All docs

vprintf()

Outputs a formatted string using an array of values.

vprintf()

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

Outputs a formatted string using an array of values.

Parameters:

  • $format (string)
  • $values (array)

Returns: int

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how vprintf is implemented in the compiler, see the internals page.