PHP Interview Questions and Answers

 

what is the difference between Exception::getMessage and Exception::getLine ?

Exception::getMessage lets us getting the Exception message and Exception::getLine lets us getting the line in which the exception occurred.

Posted by:Richards