Log Debug into PHP Error Log

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