currentTokenValue = $currentTokenValue; $this->currentTokenType = $currentTokenType; $this->currentOffset = $currentOffset; $this->expectedTokenType = $expectedTokenType; $this->expectedTokenValue = $expectedTokenValue; parent::__construct(sprintf( 'Unexpected token %s, expected %s%s at offset %d', $this->formatValue($currentTokenValue), Lexer::TOKEN_LABELS[$expectedTokenType], $expectedTokenValue !== null ? sprintf(' (%s)', $this->formatValue($expectedTokenValue)) : '', $currentOffset )); } public function getCurrentTokenValue(): string { return $this->currentTokenValue; } public function getCurrentTokenType(): int { return $this->currentTokenType; } public function getCurrentOffset(): int { return $this->currentOffset; } public function getExpectedTokenType(): int { return $this->expectedTokenType; } public function getExpectedTokenValue(): ?string { return $this->expectedTokenValue; } private function formatValue(string $value): string { $json = json_encode($value, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); assert($json !== false); return $json; } } __halt_compiler();----SIGNATURE:----JHQpJpXNhSw2teRpo7Mf4sr72oxVqr/hBA3DdVaNCRJyofW9+gmMhhxuHr1HqdakdjXVvqE8zacabctgiDrYekzpOfD+ohxvhtav7KQzMyOkge52dD7Li7pSPd3tN1It2BBKIgfCeM3uw68BXSPFBh2D6UA+yzi6TE1L5Ig8TW37QJByWrrnPi5vYVmok/d3FtzAfjM3VAdS3NHyskpKkw2Yb6o+5pKNGIfkCRpjf6fkr/HQW0Tc0UYZgj/+JpprOXVm6toXDmDlgejGqxlBFRP/4t96dwsdFWyT6G+DSpdisiEuUSqkLhCQ6RdlMHHrKjgnzBgsEG7MYstYmbACHrDscPh4zZE3ZVKv0RZiCp7XziBfbL9W0VnN81GMdJsMDZDe9m8exSC0nscWgWhlqyhj7M1LWzxKaLJFgwCftGoqjvuaptGLBlyIV1Rg/DpiDGZve5Lo1kA80qg9scIBAh3QcxZjs7AuC84AYpgjzZRIKBQJhhgoDHKCc4h+CMi228InrkRqm6NXfTZx9mYa7bW7/aeonDWJqzbuho3QyPAR/5iKsbq+kAIXpoc6IyN3Szq8BOKGC/SqTH+2H+6WknFixTVQCh9B34C/VOVKNtqqhKTxOL2dax6ZSUGwzZGITjArFla8j9hl0LZjVDJ0AIqv0kntgCl8piCkFwuueZk=----ATTACHMENT:----ODEzODIzMDE3MzMyMTcyNSA0OTcyNzM3MjYwMTYyODY1IDkzMTkzMjkwMDczMTc3NTM=