Which of the following is/are an exception?
i) BadFunctionCallException
ii) BadMethodCallException
iii) LogicException
iv) DomainException
a) Only ii)
b) Only iii)
c) i), ii), iii) and iv)
d) Only iv)
Answer: c
Explanation: There are total 13 types of predefined exceptions SPL provide access to. BadFunctionCallException,BadMethodCallExceptio, LogicException, DomainException are also included in the exceptions.
Related Posts
Which one of the following function returns the port number of a specified service?
What is the default port number of HTTPs?
Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
Which one of the following function checks for the existence of DNS records?
What is the full form of DNS?
Which function is used to determine whether a file was uploaded?
Join The Discussion