printf
printf
(PHP 4, PHP 5, PHP 7)
printf — Output a formatted string
Description
int printf ( string $format [, mixed $args [, mixed $... ]] )
Produces output according to format
.
Parameters
-
format
-
See sprintf() for a description of
format
. -
args
-
...
Return Values
Returns the length of the outputted string.
See Also
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/function.printf.php