public function eof() { if (!is_null($this->_handle)) { return feof($this->_handle); } return $this->_offset == strlen($this->_content); }