Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
vendor /
symfony /
form /
Util /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
FormUtil.php
3.5
KB
-rwxrwxr-x
2026-03-13 14:59
InheritDataAwareIterator.php
1002
B
-rwxrwxr-x
2026-03-13 14:59
OptionsResolverWrapper.php
2.57
KB
-rwxrwxr-x
2026-03-13 14:59
OrderedHashMap.php
4.3
KB
-rwxrwxr-x
2026-03-13 14:59
OrderedHashMapIterator.php
3.52
KB
-rwxrwxr-x
2026-03-13 14:59
ServerParams.php
2.31
KB
-rwxrwxr-x
2026-03-13 14:59
StringUtil.php
1.49
KB
-rwxrwxr-x
2026-03-13 14:59
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Util; /** * Iterator for {@link OrderedHashMap} objects. * * @author Bernhard Schussek <bschussek@gmail.com> * * @internal * * @template-covariant TValue * * @implements \Iterator<string, TValue> */ class OrderedHashMapIterator implements \Iterator { /** @var TValue[] */ private array $elements; /** @var list<string> */ private array $orderedKeys; private int $cursor = 0; private int $cursorId; /** @var array<int, int> */ private array $managedCursors; private ?string $key = null; /** @var TValue|null */ private mixed $current = null; /** * @param TValue[] $elements The elements of the map, indexed by their * keys * @param list<string> $orderedKeys The keys of the map in the order in which * they should be iterated * @param array<int, int> $managedCursors An array from which to reference the * iterator's cursor as long as it is alive. * This array is managed by the corresponding * {@link OrderedHashMap} instance to support * recognizing the deletion of elements. */ public function __construct(array &$elements, array &$orderedKeys, array &$managedCursors) { $this->elements = &$elements; $this->orderedKeys = &$orderedKeys; $this->managedCursors = &$managedCursors; $this->cursorId = \count($managedCursors); $this->managedCursors[$this->cursorId] = &$this->cursor; } public function __serialize(): array { throw new \BadMethodCallException('Cannot serialize '.__CLASS__); } public function __unserialize(array $data): void { throw new \BadMethodCallException('Cannot unserialize '.__CLASS__); } /** * Removes the iterator's cursors from the managed cursors of the * corresponding {@link OrderedHashMap} instance. */ public function __destruct() { // Use array_splice() instead of unset() to prevent holes in the // array indices, which would break the initialization of $cursorId array_splice($this->managedCursors, $this->cursorId, 1); } public function current(): mixed { return $this->current; } public function next(): void { ++$this->cursor; if (isset($this->orderedKeys[$this->cursor])) { $this->key = $this->orderedKeys[$this->cursor]; $this->current = $this->elements[$this->key]; } else { $this->key = null; $this->current = null; } } public function key(): mixed { if (null === $this->key) { return null; } return $this->key; } public function valid(): bool { return null !== $this->key; } public function rewind(): void { $this->cursor = 0; if (isset($this->orderedKeys[0])) { $this->key = $this->orderedKeys[0]; $this->current = $this->elements[$this->key]; } else { $this->key = null; $this->current = null; } } }