Sr. PHP Programmer Question:
Download Questions PDF

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

Answer:

Using getLine() method of Exception class which returns source line.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the purpose of $_COOKIE variable in PHP?Are objects in PHP 5 passed by value or reference?