title: PHP - Log stacktrace for warnings?
body: <p>Is it possible to log stacktraces for php warnings? Or catch a warning and error_log() it?</p>
  
  <p>There's some code causing warnings in my error log, but it's impossible to know what's causing these warnings without knowing the stack trace.</p>