20        $isDumpOutputHtmlSafe = extension_loaded(
'xdebug')
 
   22            && (
false === ini_get(
'xdebug.overload_var_dump') || ini_get(
'xdebug.overload_var_dump'))
 
   25            && (
false === ini_get(
'html_errors') || ini_get(
'html_errors'))
 
   30            new Twig_SimpleFunction(
'dump', 
'twig_var_dump', array(
'is_safe' => $isDumpOutputHtmlSafe ? array(
'html') : array(), 
'needs_context' => 
true, 
'needs_environment' => 
true)),
 
   42    if (!
$env->isDebug()) {
 
   48    $count = func_num_args();
 
   51        foreach ($context as 
$key => $value) {
 
   59        for (
$i = 2; 
$i < $count; ++
$i) {
 
   60            var_dump(func_get_arg(
$i));
 
   64    return ob_get_clean();
 
   67class_alias(
'Twig_Extension_Debug', 
'Twig\Extension\DebugExtension', 
false);
 
twig_var_dump(Twig_Environment $env, $context)
An exception for terminatinating execution or to throw for unit testing.
Stores the Twig configuration.
getFunctions()
Returns a list of functions to add to the existing list.
Represents a template function.
Default base class for compiled templates.