Jabbadar
6/12/2013 - 10:36 AM

Formatted php dump.

Formatted php dump.

<?php
    function dump($content, $w="100%", $h="450px") {
        echo "<pre style='width: {$w}; height: {$h}; overflow: scroll; border: solid 1px #333;'>";
        var_dump($content);
        echo '</pre>';
    }
?>