You are here

public function Scanner::peek in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/src/HTML5/Parser/Scanner.php \Masterminds\HTML5\Parser\Scanner::peek()

Take a peek at the next character in the data.

Return value

string The next character.

File

vendor/masterminds/html5/src/HTML5/Parser/Scanner.php, line 49

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

public function peek() {
  return $this->is
    ->peek();
}