Created
August 6, 2015 01:14
-
-
Save alexclifford/daee71a1bde97ed5546b to your computer and use it in GitHub Desktop.
Some (poor) adhoc PHP debug logging code
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
file_put_contents('/tmp/foo/bar.txt', print_r(, true), FILE_APPEND); | |
file_put_contents('/tmp/foo/bar.txt', "5:\n\n", FILE_APPEND); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment