Sr. PHP Programmer Question:
Download Questions PDF

How will you retrieve source filename using Exception class in PHP when error occured?

Answer:

Using getFile() method of Exception class which returns source filename.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of "enctype" attribute in a html form?What is PEAR?