Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
Which of the following method of Exception class retrieve the error message when error occured in PHP?
0
votes
818
views
A
getMessage()
B
getCode()
C
getFile()
D
getLine()
Correct Option: 1
php
interview questions
posted
Dec 5, 2017
by
anonymous
Looking for an answer? Promote on:
Your comment on this post:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Similar Questions
+2
votes
How to retrieve code of exception using Exception class in PHP when error occured?
0
votes
Which of the following method acts as a constructor function in a PHP class?
0
votes
Which of the following is used to delete a cookie in PHP?
0
votes
Which of the following function is used to get environment variables in PHP?
0
votes
Which of the following is correct about constants in PHP?
...