printf

(PHP 3, PHP 4 >= 4.0b1)

printf -- Output a formatted string

Description

int printf (string format [, mixed args...])

Produces output according to format, which is described in the documentation for sprintf().

See also: print(), sprintf(), sscanf(), fscanf(), and flush().