Created
August 15, 2012 14:16
-
-
Save webrgp/3360521 to your computer and use it in GitHub Desktop.
PHP Error Log var_dump
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
ob_start(); | |
var_dump($x); | |
$contents = ob_get_contents(); | |
ob_end_clean(); | |
error_log($contents); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment