protected function _dump($args) {
		// get function call position
		$backtrace = debug_backtrace();
		$backtrace = $backtrace[1];

		// get calling file
		if (isset($backtrace['file'])) {
			$file = file($backtrace['file']);
			$function = trim($file[$backtrace['line']-1]);
		}

		$output = '';
		foreach ($args as $arg) {
			// count errors to produce unique ids
			$this->errorcounter++;

			// create headline
			$output .= '<div class="dp_container">';
			$output .= '<h1 class="dump">'.htmlspecialchars($function).'</h1>';

			// highlight the file name
			$file = preg_replace('=[^/]+$=', '<strong>$0</strong>', $backtrace['file']);
			$output .= '<h3>'.$file.' (Line '.$backtrace['line'].')</h3>';

			// add var content
			$output .= $this->_dump_php($arg);
			$output .= '</div>';
			
			// add styles
			$output .= $this->_debug_styles();
		}
		
		// output to screen		
		if ($this->config['output']['screen'] == false) return '';

		echo $output;
	}