printf
(PHP 4, PHP 5, PHP 7)
printf — Output a formatted string
Descrierea
int printf
(
string $format
[,
mixed $args
[,
mixed $...
]] )
Produces output according to format
.
Parametri
-
format
-
See sprintf() for a description of
format
.
-
args
-
-
...
-
Valorile întoarse
Returns the length of the outputted string.
A se vedea și
- print - Output a string
- sprintf() - Return a formatted string
- vprintf() - Output a formatted string
- sscanf() - Parses input from a string according to a format
- fscanf() - Parses input from a file according to a format
- flush() - Flush system output buffer