How will you retrieve the error message using Exception class in PHP when error occured?

Submitted by: Administrator
Using getMessage() method of Exception class which returns the message of exception.
Submitted by:

Read Online Sr. PHP Programmer Job Interview Questions And Answers