Query: vsprintf
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VSPRINTF(3) 1 VSPRINTF(3) vsprintf - Return a formatted stringSYNOPSISstring vsprintf (string $format, array $args)DESCRIPTIONOperates as sprintf(3) but accepts an array of arguments, rather than a variable number of arguments.PARAMETERSo $format - See sprintf(3) for a description of $format. o $args -RETURN VALUESReturn array values as a formatted string according to $format (which is described in the documentation for sprintf(3)).EXAMPLESExample #1 vsprintf(3): zero-padded integers <?php print vsprintf("%04d-%02d-%02d", explode('-', '1988-8-1')); // 1988-08-01 ?>SEE ALSOsprintf(3), vprintf(3). PHP Documentation Group VSPRINTF(3)
Related Man Pages |
---|
vfprintf(3s) - bsd |
vprintf(3s) - bsd |
vsprintf(3s) - bsd |
curl_mprintf(3) - mojave |
curl_maprintf(3) - debian |
Similar Topics in the Unix Linux Community |
---|
to convert int to hex |
"No child processes" and waitpif |
Problem with Sprintf |
Smarter way to read $1 $2 in php |