Created
December 2, 2011 14:38
-
-
Save mishak87/1423448 to your computer and use it in GitHub Desktop.
Fast dump for debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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