eof $p->eof() Indicates the end of a document and flushes any buffered text. Returns the parser object.