In my php code I have this:
error_log(__LINE__ . ': ' . var_export(debug_backtrace(), true));
My intention is to see what is calling the code, but in the error log I see this:
array (\n 0 => \n array (\n 'file' => '/var/www/tmb08/content/member_login_preCode.php',\n 'line' => 26,\n 'function' => 'logon',\n 'class' => 'CMember',\n 'object' => \n CMember::__set_state(array(\n 'abilitie [...]
How can I make it output actual line endings instead of '\n'?
Thanks,
tmb_ayebe