value) { return; } $trace = $this->parser->getCleanArray($var); if (\count($trace) !== \count($o->value->contents) || !Utils::isTrace($trace)) { return; } $traceobj = new TraceObject(); $traceobj->transplant($o); $rep = $traceobj->value; $old_trace = $rep->contents; Utils::normalizeAliases(self::$blacklist); $rep->contents = array(); foreach ($old_trace as $frame) { $index = $frame->name; if (!isset($trace[$index]['function'])) { // Something's very very wrong here, but it's probably a plugin's fault continue; } if (Utils::traceFrameIsListed($trace[$index], self::$blacklist)) { continue; } $rep->contents[$index] = new TraceFrameObject($frame, $trace[$index]); } \ksort($rep->contents); $rep->contents = \array_values($rep->contents); $traceobj->clearRepresentations(); $traceobj->addRepresentation($rep); $traceobj->size = \count($rep->contents); $o = $traceobj; } }