← All docs

vfprintf()

Write a formatted string to a stream.

vfprintf()

function vfprintf(resource $stream, string $format, array $values): int

Write a formatted string to a stream.

Parameters:

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

Returns: int

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

Internals

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