I gave up because I don't have stack trace for internal errors, only for E_USER_ errors... To capture these, I think I'd need to rollout something similar to Xdebug, which is much more involved than what I'm willing to do:
github.com/xdebug/xdebug/blob/master/src/tracing/tracing.c