src/Output.php
public function write($format /* , ... */)
    {
        $args = func_get_args();
        array_shift($args);
        // Protection against format attacks.
        if (!count($args)) {
            $args[] = $format;
            $format = "%s";
        }
        vfprintf($this->stream, $format . PHP_EOL, $args);
    }
public function write($format /* , ... */)
    {
        $args = func_get_args();
        array_shift($args);
        // Protection against format attacks.
        if (!count($args)) {
            $args[] = $format;
            $format = "%s";
        }
        vfprintf($this->stream, $format . PHP_EOL, $args);
    }
Write some message to the stream,
in a \c printf() fashion.

\param string $format
A format string to use to send the message.

\note
You may pass additional parameters to this
method. They will serve as arguments for
the format string.

\note
You don't need to add an end-of-line sequence
to the format string, one will automatically
be added for you by this method.