Skip to content

Instantly share code, notes, and snippets.

@PhilippSchreiber
Created August 21, 2013 13:52
Show Gist options
  • Save PhilippSchreiber/6294701 to your computer and use it in GitHub Desktop.
Save PhilippSchreiber/6294701 to your computer and use it in GitHub Desktop.
Snippet: print_r in console
echo "<script>console.log( " . print_r($object, true) . " );</script>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment