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:----HKgBaNdDpxb9E7X0azkT8i9Gs3TK2hQ+oxouyh00D1IWWxXgNO87ac4KxvZ01dG+oAl4FP1d9vNydjGckBPYLljqXwDh1vtRxJiz5w8v4dJ+eGyW4/CvCCQfu3YIxo5t/bxhMrDggpgQ0BMWjMYkLmb+ukUqmFlCgHqdhleI48Xf7f/iqfi6MqAbOQ+wI0piwqXo1lXZeSt6fDAZ6Ft+byGyqacR7izfqpzGZgSMnPWxG2n7Xg0mGGCo7XSlJo3PVn1ZKwExGt2xMxHZpjXhcNPht00+I2tqWKQjhTpB9/MTD+gbnkRR61jMQxN1DbIsRdpSlrehiR2nt5y/4vuMdWy5n4q/8lvrXhT/ucPgGz0Pykoe55XJjEt1mQyU5Itncjtz2L7fL5qyyekeJjcCp+2VkNcY8CfK2eAEtSwH2I2PGL7HjgvE2777+KtIJoKpJLBTgeUdyw0pyaNaczVu9zgwkwbgk9kXELb71wU/CTlv0gbC3gEIBfzBazGbQljfxmGtZRvoiot03fHEAdVv2YtwKE/zEZnRIVjawV24qoDb/dCrHIdIjEEts2xfseyUp1s5PL0Na4Wl9XAmWacfgrohzm5V0Xz2ebzcWF4yuFo1/WIhbTbw5N3zSe+UqwZF/+WeDjYucLaYNDUQItpyVnnp+RfPQqmiycgTdpsD+Gk=----ATTACHMENT:----MzY1MTcxMjEzMTI3ODg1OCAzNzM0NjIzMTUzOTIxNjM0IDg1ODgxMDExMDg0ODA2NjA=