Stack Traces in php

software development

#1

Is there anyway to print stack traces in php equivalent to Java’s .printStackTrace() method for exceptions?