Skip to content

Instantly share code, notes, and snippets.

@pgmccann
Created October 5, 2015 14:19
Show Gist options
  • Save pgmccann/1867351e3c5e05ec237f to your computer and use it in GitHub Desktop.
Save pgmccann/1867351e3c5e05ec237f to your computer and use it in GitHub Desktop.
Formatted var_dump() for HTML output
<?php
function do_var_dump($object) {
echo "<pre>";
var_dump($object);
echo "</pre>";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment