printf

(PHP 3, PHP 4 )

printf -- Output a formatted string

Description

void 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().