public function Scanner::next in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/src/HTML5/Parser/Scanner.php \Masterminds\HTML5\Parser\Scanner::next()
Get the next character.
Note: This advances the pointer.
Return value
string The next character.
1 call to Scanner::next()
- Scanner::consume in vendor/
masterminds/ html5/ src/ HTML5/ Parser/ Scanner.php - Silently consume N chars.
File
- vendor/
masterminds/ html5/ src/ HTML5/ Parser/ Scanner.php, line 61
Class
- Scanner
- The scanner.
Namespace
Masterminds\HTML5\ParserCode
public function next() {
$this->is
->next();
if ($this->is
->valid()) {
if ($this->debug) {
fprintf(STDOUT, "> %s\n", $this->is
->current());
}
return $this->is
->current();
}
return false;
}