mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Beautify.
This commit is contained in:
parent
92c71b5bb9
commit
3fa1fd866f
@ -502,17 +502,14 @@ Changes in the Zend Engine 2.0
|
||||
$backtrace = debug_backtrace();
|
||||
|
||||
foreach ($backtrace as $step) {
|
||||
if (isset($step['class'])) {
|
||||
print $step['class'];
|
||||
print '::';
|
||||
}
|
||||
$class = isset($step['class']) ? $step['class'] . '::' : '';
|
||||
|
||||
print $step['function'];
|
||||
print ' [';
|
||||
print $step['file'];
|
||||
print ':';
|
||||
print $step['line'];
|
||||
print "]\n";
|
||||
printf(
|
||||
"%s [%s:%s]\n",
|
||||
$step['function'],
|
||||
$step['file'],
|
||||
$step['line']
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user