src/UI/Output.php
function dumpDebugArray($debug_log) {
        if ( ! is_array($debug_log) ) return;

        foreach ( $debug_log as $k => $v ) {
            if ( count($v) > 1 ) {
                $this->togglePre($v[0], $v[1]);
            } else if ( is_array($v) ) {
                line_out($v[0]);
            } else if ( is_string($v) ) {
                line_out($v);
            }
        }
    }
function dumpDebugArray($debug_log) {
        if ( ! is_array($debug_log) ) return;

        foreach ( $debug_log as $k => $v ) {
            if ( count($v) > 1 ) {
                $this->togglePre($v[0], $v[1]);
            } else if ( is_array($v) ) {
                line_out($v[0]);
            } else if ( is_string($v) ) {
                line_out($v);
            }
        }
    }
function dumpDebugArray ( $ debug_log ) { if ( ! is_array ( $ debug_log ) ) return ; foreach ( $ debug_log as $ k => $ v ) { if ( count ( $ v ) > 1 ) { $ this -> togglePre ( $ v [ 0 ] , $ v [ 1 ] ) ; } else if ( is_array ( $ v ) ) { line_out ( $ v [ 0 ] ) ; } else if ( is_string ( $ v ) ) { line_out ( $ v ) ; } } }
Dump a debug array with messages and optional detail

This kind of debug array comes back from some of the
grade calls.  We loop through printing the messages and
put the detail into a togglable pre tag is present.
Dump a debug array with messages and optional detail