Skip to content

Instantly share code, notes, and snippets.

@de-raaf-media
Created October 9, 2012 08:52
Show Gist options
  • Save de-raaf-media/3857473 to your computer and use it in GitHub Desktop.
Save de-raaf-media/3857473 to your computer and use it in GitHub Desktop.
print_m - formatted print_r
<?php
function print_m($s) {
echo '<pre>';
print_r($s);
echo '</pre>';
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment