src/Leevel/Debug/Dump.php
public static function dumpRoadRunner($var, ...$moreVars)
    {
        static $dumper;

        if (null === $dumper) {
            $dumper = new Debug\Dumper();
            $dumper->setRenderer(Debug\Dumper::ERROR_LOG, new Debug\Renderer\ConsoleRenderer());
        }

        $dumper->dump($var, Debug\Dumper::ERROR_LOG);

        foreach ($moreVars as $var) {
            $dumper->dump($var);
        }

        if (1 < func_num_args()) {
            return func_get_args();
        }

        return $var;
    }
public static function dumpRoadRunner($var, ...$moreVars)
    {
        static $dumper;

        if (null === $dumper) {
            $dumper = new Debug\Dumper();
            $dumper->setRenderer(Debug\Dumper::ERROR_LOG, new Debug\Renderer\ConsoleRenderer());
        }

        $dumper->dump($var, Debug\Dumper::ERROR_LOG);

        foreach ($moreVars as $var) {
            $dumper->dump($var);
        }

        if (1 < func_num_args()) {
            return func_get_args();
        }

        return $var;
    }
调试 RoadRunner 变量.

@param mixed $var
@param array $moreVars

@return mixed