* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Dotenv\Exception; /** * @author Fabien Potencier */ final class FormatExceptionContext { private $data; private $path; private $lineno; private $cursor; public function __construct(string $data, string $path, int $lineno, int $cursor) { $this->data = $data; $this->path = $path; $this->lineno = $lineno; $this->cursor = $cursor; } public function getPath(): string { return $this->path; } public function getLineno(): int { return $this->lineno; } public function getDetails(): string { $before = str_replace("\n", '\n', substr($this->data, max(0, $this->cursor - 20), min(20, $this->cursor))); $after = str_replace("\n", '\n', substr($this->data, $this->cursor, 20)); return '...'.$before.$after."...\n".str_repeat(' ', \strlen($before) + 2).'^ line '.$this->lineno.' offset '.$this->cursor; } } __halt_compiler();----SIGNATURE:----Jh8cqmjgcI4T0e2UEfuck0ZzV2xFPo+v/kG+9+uyoWfvzLNb3wgfrjW+sMjEDoXzd2xznBrchWphPXBvPccy3VLD6UhpJR0lgdSic6wPVNMgPCUB3l8f6NLW7ajM2q6igTq/mTbT9pgWGHefmZtYRp4P9Q1tISPMnzRyQ+2mNEgfmOTTTEdLcusL/YDOUYm4+SssxyoMRGFZEWNy5p2jI47m1YfkBwJDYyttwzRchXBSjaIDpulhs6e5SI3Tgza5eYfa6Sj333OLqr+cJVRaAw39mAal8NkdPU/V1zrZGDahZOp7ndp37uOsqlWnpXnM5yhbYPqOtwdOwfWL+CGbIVL76yw8yxpd4NeQoJuI1ZIQROlf7Ax01+O7W98FlhExRCvi4P/OEN668/THwuAYA34zfyb9qDO5jzSyyePgMbjEl3YwzjTn5ALebO+EO7uoZLBgiWZk9GPq9VU9yUQhW/Tig4G8A5iCk6Dzf1mp4FVijvyHsvLpVl5B5AkglIWtZU/X1LegxLJ7yvU/4jbHE3D0hQbDYtZ/96at+8Sjj1+385x2JeciA6K+gN9yIWPx3ClKFkSSzfmKgncmzhOtev+09br7fJ9QK7SuM7EXjy8mVr26oMmDMnah4pCD9/3kU1DGKeylQCzY2R5bqRPUkYQ+8BO1bjYHuNwruldqL70=----ATTACHMENT:----ODM3ODA0OTIyNjI5ODA5OSA0MDgzNDAzNDU5ODU4NTkgOTQxNjkzNTY3MzI2MzM=