public function stream_flush() { if ($this->stream) { return fflush($this->stream); } return false; }