public function stream_eof() { return parent::stream_eof() and ftell($this->source) === ftell($this->cache); }