printf 输出格式化字符串 php函数


printf

(PHP 4, PHP 5)

printf输出格式化字符串

说明

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

依据 format 格式参数产生输出。

参数

format

format 描述信息,请参见 sprintf()

args

...

返回值

返回输出字符串的长度。

参见


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3