fprintf

fprintf

(PHP 5, PHP 7)

fprintfWrite a formatted string to a stream

Description

int fprintf ( resource $handle , string $format [, mixed $args [, mixed $... ]] )

Write a string produced according to format to the stream resource specified by handle.

Parameters

handle

A file system pointer resource<