Sr. PHP Programmer Question:
Download Job Interview Questions and Answers PDF
How will you retrieve the error message using Exception class in PHP when error occured?
Answer:
Using getMessage() method of Exception class which returns the message of exception.
Download Senior PHP Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
Difference between mysql_connect and mysql_pconnect? | What are the different errors in PHP? |