public function StringInputStream::peek in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/src/HTML5/Parser/StringInputStream.php \Masterminds\HTML5\Parser\StringInputStream::peek()
Look ahead without moving cursor.
Overrides InputStream::peek
File
- vendor/
masterminds/ html5/ src/ HTML5/ Parser/ StringInputStream.php, line 318
Class
Namespace
Masterminds\HTML5\ParserCode
public function peek() {
if ($this->char + 1 <= $this->EOF) {
return $this->data[$this->char + 1];
}
return false;
}