PHP Manual
Prev |  | Next

# vprintf

(PHP 4 >= 4.1.0, PHP 5)

vprintf -- Output a formatted string

## Description

int vprintf ( string format, array args )

Display array values as a formatted string according to format (which is described in the documentation for sprintf()).

Operates as printf() but accepts an array of arguments, rather than a variable number of arguments.

Returns the length of the outputted string.

See also printf(), sprintf(), vsprintf()

Prev | Home | Next
vfprintf | Up | vsprintf