String 函数
PHP 手册

printf

(PHP 4, PHP 5)

printfOutput 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.

参见


String 函数
PHP 手册