PHP Manual
后退 |  | 前进

# printf

(PHP 3, PHP 4, PHP 5)

printf -- Output a formatted string

## Description

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

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

Returns the length of the outputted string.

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

后退 | 起点 | 前进
print | 上一级 | quoted_printable_decode