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
The following can either be written to a .txt file or you can also access it's contents (like $content[0]) as opposed to var_export which is a bit trickier I find:
$content = unserialize(serialize(debug_backtrace()));