I\'m using this right now:
error_log(serialize(debug_backtrace()));
But I have to unserialize it every time. Is there a better way to store bac
$log = var_export(debug_backtrace(), true);
Then use the variable $log to log in file or what ever.
$log