src/PowerTools/HTML5/Parser/Tokenizer.php
protected function eof() {
        if ($this->scanner->current() === false) {
            // fprintf(STDOUT, "EOF");
            $this->flushBuffer();
            $this->events->eof();
            $this->carryOn = false;
            return true;
        }
        return false;
    }
protected function eof() {
        if ($this->scanner->current() === false) {
            // fprintf(STDOUT, "EOF");
            $this->flushBuffer();
            $this->events->eof();
            $this->carryOn = false;
            return true;
        }
        return false;
    }
protected function eof ( ) { if ( $ this -> scanner -> current ( ) === false ) { // fprintf(STDOUT, "EOF"); $ this -> flushBuffer ( ) ; $ this -> events -> eof ( ) ; $ this -> carryOn = false ; return true ; } return false ; }
If the document is read, emit an EOF event.
If the document is read emit an EOF event .