Answers

Question and Answer:

  Home  Senior PHP Programmer

⟩ How will you retrieve formatted string of trace in PHP when error occurred?

Using getTraceAsString() method of Exception class which returns formatted string of trace.

 133 views

More Questions for you: