/home/desid573/book.familycab.com.au/pdd/lib/Cake/View/Elements
Edit: /home/desid573/book.familycab.com.au/pdd/lib/Cake/View/Elements/exception_stack_trace.ctp (2380B)
Stack Trace
getTrace() as $i => $stack): ?>
- %s line %s',
$i,
Debugger::trimPath($stack['file']),
$stack['line']
);
$excerpt = sprintf('
', $i);
$excerpt .= implode("\n", Debugger::excerpt($stack['file'], $stack['line'] - 1, 2));
$excerpt .= ' ';
else:
echo '[internal function]';
endif;
echo ' → ';
if ($stack['function']):
$args = array();
if (!empty($stack['args'])):
foreach ((array)$stack['args'] as $arg):
$args[] = Debugger::getType($arg);
$params[] = Debugger::exportVar($arg, 4);
endforeach;
endif;
$called = isset($stack['class']) ? $stack['class'] . $stack['type'] . $stack['function'] : $stack['function'];
printf(
'%s(%s) ',
$i,
$called,
h(implode(', ', $args))
);
$arguments = sprintf('', $i);
$arguments .= h(implode("\n", $params));
$arguments .= ' ';
endif;
echo $excerpt;
echo $arguments;
?>