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
For those who might want a more compact version, this will also do the trick:
error_log((new Exception())->getTraceAsString())