|
fprintfWrite a formatted string to a stream Description
int fprintf
( resource
$handle
, string $format
[, mixed $args
[, mixed $...
]] )
Write a string produced according to Parameters
Return ValuesReturns the length of the string written. Examples
Example #1 fprintf: zero-padded integers
<?phpExample #2 fprintf: formatting currency
<?phpSee Also
|