|
@@ 354-360 (lines=7) @@
|
| 351 |
|
$trace = array(); |
| 352 |
|
|
| 353 |
|
// No need to normalize as we've already called it through getCalleeInfo at this point |
| 354 |
|
foreach ($data as $index => $frame) { |
| 355 |
|
if (Utils::traceFrameIsListed($frame, self::$aliases)) { |
| 356 |
|
$trace = array(); |
| 357 |
|
} |
| 358 |
|
|
| 359 |
|
$trace[] = $frame; |
| 360 |
|
} |
| 361 |
|
|
| 362 |
|
$lastframe = reset($trace); |
| 363 |
|
$tracename = $lastframe['function'].'(1)'; |
|
@@ 490-498 (lines=9) @@
|
| 487 |
|
Utils::normalizeAliases(self::$aliases); |
| 488 |
|
$miniTrace = array(); |
| 489 |
|
|
| 490 |
|
foreach ($trace as $index => $frame) { |
| 491 |
|
if (Utils::traceFrameIsListed($frame, self::$aliases)) { |
| 492 |
|
$miniTrace = array(); |
| 493 |
|
} |
| 494 |
|
|
| 495 |
|
if (!Utils::traceFrameIsListed($frame, array('spl_autoload_call'))) { |
| 496 |
|
$miniTrace[] = $frame; |
| 497 |
|
} |
| 498 |
|
} |
| 499 |
|
|
| 500 |
|
$callee = reset($miniTrace); |
| 501 |
|
$caller = next($miniTrace); |