How will you retrieve stack trace using Exception class in PHP when error occured?

Submitted by: Administrator
Using getTrace() method of Exception class which returns array of the backtrace.
Submitted by:

Read Online Sr. PHP Programmer Job Interview Questions And Answers