Log Debug into PHP Error Log
Snippets December 12th, 2008
I needed to see some debug output on a production system and used the following hack:
error_log("\n@@@\n" . var_export($this->config, true) . "\n");
To see the output, I set a tail on the error-log-file:
tail -f ~/sites/logs/php_error.log
About





