public static function debug()
    {
        $vars = func_get_args();

        $cloner = new VarCloner();

        $dumper = 'cli' === PHP_SAPI ? new CliDumper() : new HtmlDumper();

        $dumper->setStyles([
            'default' => 'background-color:#fff; color:#FF8400; line-height:1.2em; 
                font:12px Menlo, Monaco, Consolas, monospace; word-wrap: break-word; 
                white-space: pre-wrap; position:relative; z-index:99999; word-break: normal',
            'num' => 'font-weight:bold; color:#1299DA',
            'const' => 'font-weight:bold',
            'str' => 'color:#111111',
            'note' => 'color:#1299DA',
            'ref' => 'color:#A0A0A0',
            'public' => 'color:blue',
            'protected' => 'color:#111',
            'private' => 'color:#478',
            'meta' => 'color:#B729D9',
            'key' => 'color:#212',
            'index' => 'color:#1200DA',
        ]);

        $handler = function ($vars) use ($cloner, $dumper) {
            if (!is_array($vars)) {
                $vars = [$vars];
            }

            foreach ($vars as $var) {
                $dumper->dump($cloner->cloneVar($var));
            }
        };

        call_user_func_array($handler, [$vars]);
    }
public static function debug()
    {
        $vars = func_get_args();

        $cloner = new VarCloner();

        $dumper = 'cli' === PHP_SAPI ? new CliDumper() : new HtmlDumper();

        $dumper->setStyles([
            'default' => 'background-color:#fff; color:#FF8400; line-height:1.2em; 
                font:12px Menlo, Monaco, Consolas, monospace; word-wrap: break-word; 
                white-space: pre-wrap; position:relative; z-index:99999; word-break: normal',
            'num' => 'font-weight:bold; color:#1299DA',
            'const' => 'font-weight:bold',
            'str' => 'color:#111111',
            'note' => 'color:#1299DA',
            'ref' => 'color:#A0A0A0',
            'public' => 'color:blue',
            'protected' => 'color:#111',
            'private' => 'color:#478',
            'meta' => 'color:#B729D9',
            'key' => 'color:#212',
            'index' => 'color:#1200DA',
        ]);

        $handler = function ($vars) use ($cloner, $dumper) {
            if (!is_array($vars)) {
                $vars = [$vars];
            }

            foreach ($vars as $var) {
                $dumper->dump($cloner->cloneVar($var));
            }
        };

        call_user_func_array($handler, [$vars]);
    }
public static function debug ( ) { $ vars = func_get_args ( ) ; $ cloner = new VarCloner ( ) ; $ dumper = 'cli' === PHP_SAPI ? new CliDumper ( ) : new HtmlDumper ( ) ; $ dumper -> setStyles ( [ 'default' => 'background-color:#fff; color:#FF8400; line-height:1.2em; 
                font:12px Menlo, Monaco, Consolas, monospace; word-wrap: break-word; 
                white-space: pre-wrap; position:relative; z-index:99999; word-break: normal' , 'num' => 'font-weight:bold; color:#1299DA' , 'const' => 'font-weight:bold' , 'str' => 'color:#111111' , 'note' => 'color:#1299DA' , 'ref' => 'color:#A0A0A0' , 'public' => 'color:blue' , 'protected' => 'color:#111' , 'private' => 'color:#478' , 'meta' => 'color:#B729D9' , 'key' => 'color:#212' , 'index' => 'color:#1200DA' , ] ) ; $ handler = function ( $ vars ) use ( $ cloner , $ dumper ) { if ( ! is_array ( $ vars ) ) { $ vars = [ $ vars ] ; } foreach ( $ vars as $ var ) { $ dumper -> dump ( $ cloner -> cloneVar ( $ var ) ) ; } } ; call_user_func_array ( $ handler , [ $ vars ] ) ; }
Run a var_dump on the variables passed in parameter.

@return void
Run a var_dump on the variables passed in parameter .