Created
February 26, 2011 15:19
-
-
Save bxt/845291 to your computer and use it in GitHub Desktop.
Debugging PHP in production you can use this to save your logs form growing big
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 if(rand(1,1000)==42) {trigger_error($debugout);} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment