Answers

Question and Answer:

  Home  Senior PHP Programmer

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

Using getTrace() method of Exception class which returns array of the backtrace.

 205 views

More Questions for you: