Sr. PHP Programmer Question:
Download Questions PDF

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.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the importance of "action" attribute in a html form?Write a program using while loop?