php man page for vfprintf

Query: vfprintf

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

VFPRINTF(3)								 1							       VFPRINTF(3)

vfprintf - Write a formatted string to a stream

SYNOPSIS
int vfprintf (resource $handle, string $format, array $args)
DESCRIPTION
Write a string produced according to $format to the stream resource specified by $handle. Operates as fprintf(3) but accepts an array of arguments, rather than a variable number of arguments.
PARAMETERS
o $handle - o $format - See sprintf(3) for a description of $format. o $args -
RETURN VALUES
Returns the length of the outputted string.
EXAMPLES
Example #1 vfprintf(3): zero-padded integers <?php if (!($fp = fopen('date.txt', 'w'))) return; vfprintf($fp, "%04d-%02d-%02d", array($year, $month, $day)); // will write the formatted ISO date to date.txt ?>
SEE ALSO
printf(3), sprintf(3), sscanf(3), fscanf(3), vsprintf(3), number_format(3). PHP Documentation Group VFPRINTF(3)
Related Man Pages
vfprintf(3p) - centos
vfprintf(3p) - suse
vprintf(3p) - suse
vsnprintf(3p) - suse
vfprintf(3) - osf1
Similar Topics in the Unix Linux Community
Data formating using C programm with Hex deciamal 'x0d'
Automatic file input to code
Rename old files with last modification date
replacing a string with another string in a txt file
Finding/Grep on files with date and hour in the file name