Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.127
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
cpguard /
app /
vendor /
twig /
twig /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Cache
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Error
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
ExpressionParser
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Extension
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Loader
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Node
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
NodeVisitor
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Profiler
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Resources
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Runtime
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
RuntimeLoader
[ DIR ]
drwxr-xr-x
2024-09-27 07:26
Sandbox
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Test
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
TokenParser
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Util
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
AbstractTwigCallable.php
5.36
KB
-rw-r--r--
2025-05-08 04:26
Compiler.php
6.17
KB
-rw-r--r--
2025-05-08 04:26
DeprecatedCallableInfo.php
1.64
KB
-rw-r--r--
2025-05-08 04:26
Environment.php
27.04
KB
-rw-r--r--
2025-05-08 04:26
ExpressionParser.php
12.32
KB
-rw-r--r--
2025-05-08 04:26
ExtensionSet.php
16.55
KB
-rw-r--r--
2025-05-08 04:26
FileExtensionEscapingStrategy.php
1.44
KB
-rw-r--r--
2025-05-08 04:26
Lexer.php
22.28
KB
-rw-r--r--
2025-05-08 04:26
Markup.php
1.03
KB
-rw-r--r--
2025-05-08 04:26
NodeTraverser.php
1.78
KB
-rw-r--r--
2024-09-27 07:26
OperatorPrecedenceChange.php
874
B
-rw-r--r--
2025-05-08 04:26
Parser.php
21.44
KB
-rw-r--r--
2025-05-08 04:26
Source.php
929
B
-rw-r--r--
2024-09-27 07:26
Template.php
16.03
KB
-rw-r--r--
2025-05-08 04:26
TemplateWrapper.php
2.56
KB
-rw-r--r--
2025-05-08 04:26
Token.php
7.75
KB
-rw-r--r--
2025-05-08 04:26
TokenStream.php
3.5
KB
-rw-r--r--
2025-05-08 04:26
TwigCallableInterface.php
1.17
KB
-rw-r--r--
2024-09-27 07:26
TwigFilter.php
1.84
KB
-rw-r--r--
2025-05-08 04:26
TwigFunction.php
1.58
KB
-rw-r--r--
2024-09-27 07:26
TwigTest.php
1.53
KB
-rw-r--r--
2024-09-27 07:26
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; use Twig\Node\Node; /** * @author Fabien Potencier <fabien@symfony.com> */ class Compiler { private $lastLine; private $source; private $indentation; private $debugInfo = []; private $sourceOffset; private $sourceLine; private $varNameSalt = 0; private $didUseEcho = false; private $didUseEchoStack = []; public function __construct( private Environment $env, ) { } public function getEnvironment(): Environment { return $this->env; } public function getSource(): string { return $this->source; } /** * @return $this */ public function reset(int $indentation = 0) { $this->lastLine = null; $this->source = ''; $this->debugInfo = []; $this->sourceOffset = 0; // source code starts at 1 (as we then increment it when we encounter new lines) $this->sourceLine = 1; $this->indentation = $indentation; $this->varNameSalt = 0; return $this; } /** * @return $this */ public function compile(Node $node, int $indentation = 0) { $this->reset($indentation); $this->didUseEchoStack[] = $this->didUseEcho; try { $this->didUseEcho = false; $node->compile($this); if ($this->didUseEcho) { trigger_deprecation('twig/twig', '3.9', 'Using "%s" is deprecated, use "yield" instead in "%s", then flag the class with #[\Twig\Attribute\YieldReady].', $this->didUseEcho, $node::class); } return $this; } finally { $this->didUseEcho = array_pop($this->didUseEchoStack); } } /** * @return $this */ public function subcompile(Node $node, bool $raw = true) { if (!$raw) { $this->source .= str_repeat(' ', $this->indentation * 4); } $this->didUseEchoStack[] = $this->didUseEcho; try { $this->didUseEcho = false; $node->compile($this); if ($this->didUseEcho) { trigger_deprecation('twig/twig', '3.9', 'Using "%s" is deprecated, use "yield" instead in "%s", then flag the class with #[\Twig\Attribute\YieldReady].', $this->didUseEcho, $node::class); } return $this; } finally { $this->didUseEcho = array_pop($this->didUseEchoStack); } } /** * Adds a raw string to the compiled code. * * @return $this */ public function raw(string $string) { $this->checkForEcho($string); $this->source .= $string; return $this; } /** * Writes a string to the compiled code by adding indentation. * * @return $this */ public function write(...$strings) { foreach ($strings as $string) { $this->checkForEcho($string); $this->source .= str_repeat(' ', $this->indentation * 4).$string; } return $this; } /** * Adds a quoted string to the compiled code. * * @return $this */ public function string(string $value) { $this->source .= \sprintf('"%s"', addcslashes($value, "\0\t\"\$\\")); return $this; } /** * Returns a PHP representation of a given value. * * @return $this */ public function repr($value) { if (\is_int($value) || \is_float($value)) { if (false !== $locale = setlocale(\LC_NUMERIC, '0')) { setlocale(\LC_NUMERIC, 'C'); } $this->raw(var_export($value, true)); if (false !== $locale) { setlocale(\LC_NUMERIC, $locale); } } elseif (null === $value) { $this->raw('null'); } elseif (\is_bool($value)) { $this->raw($value ? 'true' : 'false'); } elseif (\is_array($value)) { $this->raw('['); $first = true; foreach ($value as $key => $v) { if (!$first) { $this->raw(', '); } $first = false; $this->repr($key); $this->raw(' => '); $this->repr($v); } $this->raw(']'); } else { $this->string($value); } return $this; } /** * @return $this */ public function addDebugInfo(Node $node) { if ($node->getTemplateLine() != $this->lastLine) { $this->write(\sprintf("// line %d\n", $node->getTemplateLine())); $this->sourceLine += substr_count($this->source, "\n", $this->sourceOffset); $this->sourceOffset = \strlen($this->source); $this->debugInfo[$this->sourceLine] = $node->getTemplateLine(); $this->lastLine = $node->getTemplateLine(); } return $this; } public function getDebugInfo(): array { ksort($this->debugInfo); return $this->debugInfo; } /** * @return $this */ public function indent(int $step = 1) { $this->indentation += $step; return $this; } /** * @return $this * * @throws \LogicException When trying to outdent too much so the indentation would become negative */ public function outdent(int $step = 1) { // can't outdent by more steps than the current indentation level if ($this->indentation < $step) { throw new \LogicException('Unable to call outdent() as the indentation would become negative.'); } $this->indentation -= $step; return $this; } public function getVarName(): string { return \sprintf('_v%d', $this->varNameSalt++); } private function checkForEcho(string $string): void { if ($this->didUseEcho) { return; } $this->didUseEcho = preg_match('/^\s*+(echo|print)\b/', $string, $m) ? $m[1] : false; } }