1.

How many predefined exceptions does SPL provide access to?(a) 13(b) 14(c) 15(d) 16This question was addressed to me during an interview for a job.My question is taken from Exception Handling in chapter Error Handling and Exception Handling in PHP of PHP

Answer»

The correct CHOICE is (a) 13

The explanation is: It provides 13 EXCEPTIONS: BadFunctionCallException, BadMethodCallException, DOMAINEXCEPTION, InvalidArgumentException, LengthException, LogicException, OutOfBoundsException, OutOfRangeException, OverflowException, RangeException, RuntimeException, UNDERFLOWEXCEPTION, UnexpectedValueException.



Discussion

No Comment Found

Related InterviewSolutions