vprintf
vprintf
Output a formatted string
int **vprintf** string $format array $values
Display array values as a formatted string according to
(which is described in the documentation
for ).
format``sprintf
Operates as but accepts an array of
arguments, rather than a variable number of arguments.
printf
values
Returns the length of the outputted string.
Voorbeeld: : zero-padded integers
<?php
vprintf("%04d-%02d-%02d", explode('-', '1988-8-1'));
?>
1988-08-01
printf``sprintf``fprintf``vsprintf``vfprintf``sscanf``fscanf``number_format``date