Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
softmedya.net /
vendor /
sebastian /
diff /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-xr-x
2024-07-03 04:53
Output
[ DIR ]
drwxr-xr-x
2024-07-03 04:53
Chunk.php
1.79
KB
-rw-r--r--
2024-07-03 04:53
Diff.php
1.57
KB
-rw-r--r--
2024-07-03 04:53
Differ.php
6.76
KB
-rw-r--r--
2024-07-03 04:53
Line.php
1.05
KB
-rw-r--r--
2024-07-03 04:53
LongestCommonSubsequenceCalculator.php
486
B
-rw-r--r--
2024-07-03 04:53
MemoryEfficientLongestCommonSubsequenceCalculator.php
2.61
KB
-rw-r--r--
2024-07-03 04:53
Parser.php
3.11
KB
-rw-r--r--
2024-07-03 04:53
TimeEfficientLongestCommonSubsequenceCalculator.php
2.31
KB
-rw-r--r--
2024-07-03 04:53
Save
Rename
<?php declare(strict_types=1); /* * This file is part of sebastian/diff. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\Diff; use ArrayIterator; use IteratorAggregate; use Traversable; /** * @template-implements IteratorAggregate<int, Chunk> */ final class Diff implements IteratorAggregate { /** * @var non-empty-string */ private string $from; /** * @var non-empty-string */ private string $to; /** * @var list<Chunk> */ private array $chunks; /** * @param non-empty-string $from * @param non-empty-string $to * @param list<Chunk> $chunks */ public function __construct(string $from, string $to, array $chunks = []) { $this->from = $from; $this->to = $to; $this->chunks = $chunks; } /** * @return non-empty-string */ public function from(): string { return $this->from; } /** * @return non-empty-string */ public function to(): string { return $this->to; } /** * @return list<Chunk> */ public function chunks(): array { return $this->chunks; } /** * @param list<Chunk> $chunks */ public function setChunks(array $chunks): void { $this->chunks = $chunks; } public function getIterator(): Traversable { return new ArrayIterator($this->chunks); } }