|
PHP5中文手册
vfprintf(PHP 5) vfprintf — Write a formatted string to a stream 说明
int vfprintf
( resource $handle
, string $format
, array $args
)
Write a string produced according to format to the stream resource specified by handle . Operates as fprintf() but accepts an array of arguments, rather than a variable number of arguments. 返回值Returns the length of the outputted string. 范例
Example#1 vfprintf(): zero-padded integers
<?php |