public function stream_eof()
    {
        if ($this->fileHandle === null) {
            return false;
        }
        self::restore();
        $success = feof($this->fileHandle);
        self::register();
        return $success;
    }
public function stream_eof()
    {
        if ($this->fileHandle === null) {
            return false;
        }
        self::restore();
        $success = feof($this->fileHandle);
        self::register();
        return $success;
    }
public function stream_eof ( ) { if ( $ this -> fileHandle === null ) { return false ; } self :: restore ( ) ; $ success = feof ( $ this -> fileHandle ) ; self :: register ( ) ; return $ success ; }
Test for end-of-file on a file pointer

@return bool
Test for end - of - file on a file pointer