fprintf

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

説明

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

戻り値

Returns the length of the string written.