src/ThinkPHP/Library/Vendor/SmartTemplate/class.smarttemplatedebugger.php
function vardump($var, $depth = 0)
	    {
	        if (is_array($var))
	        {
	            $result  =  "Array (" . count($var) . ")<BR>";
	            foreach(array_keys($var) as $key)
	            {
	                $result  .=  $this->tab[$depth] . "<B>$key</B>: " . $this->vardump($var[$key],  $depth+1);
	            }
	            return $result;
	        }
	        else
	        {
	            $ret =  htmlentities($var) . "<BR>";
	            return $ret;
	        }
	    }
function vardump($var, $depth = 0)
	    {
	        if (is_array($var))
	        {
	            $result  =  "Array (" . count($var) . ")<BR>";
	            foreach(array_keys($var) as $key)
	            {
	                $result  .=  $this->tab[$depth] . "<B>$key</B>: " . $this->vardump($var[$key],  $depth+1);
	            }
	            return $result;
	        }
	        else
	        {
	            $ret =  htmlentities($var) . "<BR>";
	            return $ret;
	        }
	    }
function vardump ( $ var , $ depth = 0 ) { if ( is_array ( $ var ) ) { $ result = "Array (" . count ( $ var ) . ")<BR>" ; foreach ( array_keys ( $ var ) as $ key ) { $ result .= $ this -> tab [ $ depth ] . "<B>$key</B>: " . $ this -> vardump ( $ var [ $ key ] , $ depth + 1 ) ; } return $ result ; } else { $ ret = htmlentities ( $ var ) . "<BR>" ; return $ ret ; } }
Recursive Variable Display Output

@param mixed $var Content
@param int $depth Incremented Indent Counter for Recursive Calls
@return string Variable Content
@access private
@desc Recursive Variable Display Output
Recursive Variable Display Output