芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/midiatech/vendor/twig/twig/src/Extension/DebugExtension.php
$isDumpOutputHtmlSafe ? ['html'] : [], 'needs_context' => true, 'needs_environment' => true, 'is_variadic' => true]), ]; } public function getName() { return 'debug'; } } class_alias('Twig\Extension\DebugExtension', 'Twig_Extension_Debug'); } namespace { use Twig\Environment; use Twig\Template; use Twig\TemplateWrapper; function twig_var_dump(Environment $env, $context, array $vars = []) { if (!$env->isDebug()) { return; } ob_start(); if (!$vars) { $vars = []; foreach ($context as $key => $value) { if (!$value instanceof Template && !$value instanceof TemplateWrapper) { $vars[$key] = $value; } } var_dump($vars); } else { foreach ($vars as $var) { var_dump($var); } } return ob_get_clean(); } }