in PHP by (32.2k points)
what is the difference between Exception::getMessage and Exception:: getLine?

1 Answer

0 votes
by

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

Related questions

0 votes
asked Jun 23, 2019 in PHP by SakshiSharma (32.2k points)
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma (32.2k points)
0 votes
asked Jun 23, 2019 in PHP by SakshiSharma (32.2k points)
...