christophehurpeau/php-var-dump

This package is abandoned and no longer maintained. No replacement package was suggested.

html var dump with syntax highlighting

1.0.2 2014-09-24 22:14 UTC

This package is not auto-updated.

Last update: 2020-08-22 10:04:57 UTC


README

html var dump with syntax highlighting

How to use

$formatter = new HtmlFormatter();
$varDump = new VarDump($this->formatter, 99);
echo '
<html style="margin:0; padding:0;">
    <body style="margin:0; padding:0;">
        <pre>' . $varDump->dump($data) . '</pre>
    </body>
</html>';