public function write($value, $glue = "\n") {
        if (is_array($value)) {
            $this->output .= implode(chr(10), $value);
        }
        else {
            $this->output .= $value;
        }
    }
public function write($value, $glue = "\n") {
        if (is_array($value)) {
            $this->output .= implode(chr(10), $value);
        }
        else {
            $this->output .= $value;
        }
    }
public function write ( $ value , $ glue = "\n" ) { if ( is_array ( $ value ) ) { $ this -> output .= implode ( chr ( 10 ) , $ value ) ; } else { $ this -> output .= $ value ; } }
Writes the specified string to the HTTP response output stream.

@param string|array $value The string to write to the HTTP output stream.
@param string $glue The string for gluing together the elements of an array, if $value is an array. Default: "\n".

@return void
Writes the specified string to the HTTP response output stream .