Last active
December 24, 2015 21:59
-
-
Save zofe/6869571 to your computer and use it in GitHub Desktop.
to remember:sometime error_log is just better than ..debug, var_dump or die
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
error_log(print_r($var, true), 3, $_SERVER['DOCUMENT_ROOT']."/uploads/log.txt"); | |
var_dump($var); | |
die($var); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment