src/Debug.php
static private function info()
    {
        //检查调用堆栈
        $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
        $lastLine = 0;

        $line = null;
        foreach ($trace as $line) {
            if (!isset($line['class'])) {
                $line['class'] = '';
            }

            //找到最后一次调用,且不是 框架调用的
            if (substr($line['class'], 0, 6) != 'SFrame' and substr($line['class'], 0, 7) != 'icePHP\\') break;
            $lastLine = $line['line'] ?? 0;
        }
        $from = $line;

        $info = $from['class'] . (isset($from['type']) ? $from['type'] : '') . $from['function'] . '::' . $lastLine;
        return [$from['class'], $info];
    }
static private function info()
    {
        //检查调用堆栈
        $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
        $lastLine = 0;

        $line = null;
        foreach ($trace as $line) {
            if (!isset($line['class'])) {
                $line['class'] = '';
            }

            //找到最后一次调用,且不是 框架调用的
            if (substr($line['class'], 0, 6) != 'SFrame' and substr($line['class'], 0, 7) != 'icePHP\\') break;
            $lastLine = $line['line'] ?? 0;
        }
        $from = $line;

        $info = $from['class'] . (isset($from['type']) ? $from['type'] : '') . $from['function'] . '::' . $lastLine;
        return [$from['class'], $info];
    }
获取调用规模中的开发 代码信息
@return array [类名,调用点信息]