Sr. PHP Programmer Question:
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.
Previous Question | Next Question |
What is the purpose of $_COOKIE variable in PHP? | Are objects in PHP 5 passed by value or reference? |