* 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\Compiler;
use Twig\Source;
/**
* Represents a node in the AST.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class Node implements \Twig_NodeInterface
{
protected $nodes;
protected $attributes;
protected $lineno;
protected $tag;
private $name;
private $sourceContext;
/**
* @param array $nodes An array of named nodes
* @param array $attributes An array of attributes (should not be nodes)
* @param int $lineno The line number
* @param string $tag The tag name associated with the Node
*/
public function __construct(array $nodes = [], array $attributes = [], $lineno = 0, $tag = null)
{
foreach ($nodes as $name => $node) {
if (!$node instanceof \Twig_NodeInterface) {
@trigger_error(sprintf('Using "%s" for the value of node "%s" of "%s" is deprecated since version 1.25 and will be removed in 2.0.', \is_object($node) ? \get_class($node) : (null === $node ? 'null' : \gettype($node)), $name, static::class), \E_USER_DEPRECATED);
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param Throwable $exception
*
* @return Inspector
*/
private function getInspector($exception)
{
return new Inspector($exception);
}
/**
* Resolves the giving handler.
*
* @param callable|HandlerInterface $handler
*
* @return HandlerInterface
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
Key | Value |
tmpl | component |
template | g5_hydrogen |
link | 8f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Z3NoaWxmZS1vdHRlci5kZS9pbmRleC5waHAvY29tcG9uZW50L21haWx0by8/dG1wbD1jb21wb25lbnQmdGVtcGxhdGU9ZzVfaHlkcm9nZW4mbGluaz04ZmIyZTAyZTJiNzNlNzMxY2YwMzdmZjA1MGY4NTAwMWExZDdkZjk3Ijt9fX19fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7TzoyMDoiSm9vbWxhXENNU1xVc2VyXFVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30= |
Key | Value |
OPENSSL_CONF | /etc/ssl/openssl.cnf |
REDIRECT_OPENSSL_CONF | /etc/ssl/openssl.cnf |
PHP_FCGID_MAX_REQUESTLEN | 4294967296 |
PHP_FCGID_BUSY_TIMEOUT | 14400 |
PHP_FCGID_IO_TIMEOUT | 600 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | fluechtlingshilfe-otter.de |
PATH | /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin |
LD_LIBRARY_PATH | /usr/local/lib:/usr/local/lib |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache |
SERVER_NAME | fluechtlingshilfe-otter.de |
SERVER_ADDR | 82.100.220.56 |
SERVER_PORT | 80 |
REMOTE_ADDR | 54.243.2.41 |
DOCUMENT_ROOT | /web/1/000/091/419/368273/htdocs |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /web/1/000/091/419/368273/htdocs |
SERVER_ADMIN | kundenservice@goneo.de |
SCRIPT_FILENAME | /web/1/000/091/419/368273/htdocs/index.php |
REMOTE_PORT | 36894 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | tmpl=component&template=g5_hydrogen&link=8fb2e02e2b73e731cf037ff050f85001a1d7df97 |
REQUEST_URI | /index.php/component/mailto/?tmpl=component&template=g5_hydrogen&link=8fb2e02e2b73e731cf037ff050f85001a1d7df97 |
SCRIPT_NAME | /index.php |
PATH_INFO | /component/mailto/ |
PATH_TRANSLATED | /web/1/000/091/419/368273/htdocs/component/mailto/ |
PHP_SELF | /index.php/component/mailto/ |
REQUEST_TIME_FLOAT | 1711642874.2614 |
REQUEST_TIME | 1711642874 |
argv | Array ( [0] => tmpl=component&template=g5_hydrogen&link=8fb2e02e2b73e731cf037ff050f85001a1d7df97 ) |
argc | 1 |
Key | Value |
SSH_CLIENT | 10.11.0.254 54462 23 |
LOGNAME | root |
LANG | C.UTF-8 |
/var/mail/root | |
PATH | /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin |
LD_LIBRARY_PATH | /usr/local/lib:/usr/local/lib |
PWD | /root |
_ | /usr/local/etc/rc.d/apache24 |
TERM | su |
USER | root |
HOME | /root |
SSH_CONNECTION | 10.11.0.254 54462 10.11.1.26 23 |
SHELL | /usr/local/bin/bash |
MM_CHARSET | UTF-8 |
RC_PID | 9685 |
BLOCKSIZE | K |
SHLVL | 0 |