Skip to content

Instantly share code, notes, and snippets.

@mishak87
Created December 2, 2011 14:38
Show Gist options
  • Save mishak87/1423448 to your computer and use it in GitHub Desktop.
Save mishak87/1423448 to your computer and use it in GitHub Desktop.
Fast dump for debugging
<?php
@mkdir('/tmp/debugging', 02755, true);
file_put_contents('/tmp/debugging/event.log', print_r(array($_SERVER, $_POST, $_GET, $_SESSION), true));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment