Strings
PHP Manual

printf

(PHP 4, PHP 5)

printf — Output a formatted string

说明

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

Produces output according to format .

参数

format

See sprintf() for a description of format .

args

...

返回值

Returns the length of the outputted string.

参见


Strings
PHP Manual