vsprintf(3) php man page | unix.com

Man Page: vsprintf

Operating Environment: php

Section: 3

VSPRINTF(3)								 1							       VSPRINTF(3)

vsprintf - Return a formatted string

SYNOPSIS
string vsprintf (string $format, array $args)
DESCRIPTION
Operates as sprintf(3) but accepts an array of arguments, rather than a variable number of arguments.
PARAMETERS
o $format - See sprintf(3) for a description of $format. o $args -
RETURN VALUES
Return array values as a formatted string according to $format (which is described in the documentation for sprintf(3)).
EXAMPLES
Example #1 vsprintf(3): zero-padded integers <?php print vsprintf("%04d-%02d-%02d", explode('-', '1988-8-1')); // 1988-08-01 ?>
SEE ALSO
sprintf(3), vprintf(3). PHP Documentation Group VSPRINTF(3)
Related Man Pages
fprintf(3s) - bsd
vfprintf(3s) - bsd
curl_msnprintf(3) - debian
curl_mprintf(3) - debian
vfprintf(3) - php
Similar Topics in the Unix Linux Community
Need help in building gcc on solaris.
Using ANSI color codes in gcc compiled program
Unclear pointer and array
Smarter way to read $1 $2 in php