public function eof() {
			if (!$this->hasRead) {
				$this->mark();

				$ret = fgetc($this->handle);

				if ($ret === false)
					return true;

				$this->reset();
			}

			return feof($this->handle);
		}
public function eof() {
			if (!$this->hasRead) {
				$this->mark();

				$ret = fgetc($this->handle);

				if ($ret === false)
					return true;

				$this->reset();
			}

			return feof($this->handle);
		}
public function eof ( ) { if ( ! $ this -> hasRead ) { $ this -> mark ( ) ; $ ret = fgetc ( $ this -> handle ) ; if ( $ ret === false ) return true ; $ this -> reset ( ) ; } return feof ( $ this -> handle ) ; }
Returns true if the end of the stream has been reached.

@return boolean true if the end of the stream has been reached
Returns true if the end of the stream has been reached .