protected function isQuotedString() { $firstChar = substr($this->input, 0, 1); $lastChar = substr($this->input, -1); return false !== strpos('"\'', $firstChar) && $lastChar === $firstChar; }