public function isEOF()
    {
        if ($this->chunkOffset === $this->numChunks - 1) {
            return $this->bufferOffset >= $this->expectedLastChunkSize;
        }

        return $this->chunkOffset >= $this->numChunks;
    }
public function isEOF()
    {
        if ($this->chunkOffset === $this->numChunks - 1) {
            return $this->bufferOffset >= $this->expectedLastChunkSize;
        }

        return $this->chunkOffset >= $this->numChunks;
    }
public function isEOF ( ) { if ( $ this -> chunkOffset === $ this -> numChunks - 1 ) { return $ this -> bufferOffset >= $ this -> expectedLastChunkSize ; } return $ this -> chunkOffset >= $ this -> numChunks ; }
Return whether the current read position is at the end of the stream.

@return boolean
Return whether the current read position is at the end of the stream .