protected function skipSpaces() { while (!$this->metEnd() && in_array($this->str[$this->p], [' ', "\t", "\n"])) { ++$this->p; } }