public function append($string)
    {
        $pos = ftell($this->stream);
        fseek($this->stream, 0, SEEK_END);
        fwrite($this->stream, $string);
        fseek($this->stream, $pos);
    }
public function append($string)
    {
        $pos = ftell($this->stream);
        fseek($this->stream, 0, SEEK_END);
        fwrite($this->stream, $string);
        fseek($this->stream, $pos);
    }
public function append ( $ string ) { $ pos = ftell ( $ this -> stream ) ; fseek ( $ this -> stream , 0 , SEEK_END ) ; fwrite ( $ this -> stream , $ string ) ; fseek ( $ this -> stream , $ pos ) ; }
Appends a string to the stream.

@param string $string The string to append.
Appends a string to the stream .