prd

Use the below function for small tests 🙂

/**
 * Print multiple arrays in a pretty way and die()
 *
 * @param mixed
 * @return prints all function arguments and die.
 */
function prd(){
    $style = ' white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; display: block; background:#F7AFDE; border:2px dotted #070; padding: 7px; color:#000; font-family: Consolas, monaco, monospace; font-size:11px;';
    
    foreach (func_get_args() as $arg){
        echo '<pre style="'.$style.'">';
        print_r($arg);    
        echo '</pre>';
    }
    die();
}

eg.

$d = $Class->getDimentsions();
prd( $d );