error handling in php

mcqspedia.com has 5 Question/Answers about Topic error handling in php

For exception handling PHP5 introduced a class, name

For exception handling PHP5 introduced a class, name
  • A. Exe { }
  • B. Exception { }
  • C. Catch { }
  • D. None of them
  • Correct Answer: Option B

There are how many types of native errors in PHP?

There are how many types of native errors in PHP?
  • A. 1
  • B. 2
  • C. 3
  • D. 4
  • Correct Answer: Option C

For first time PHP5 included the

For first time PHP5 included the
  • A. Exception handling object
  • B. Syntax handling object
  • C. Design handling functions
  • D. None of them
  • Correct Answer: Option A

Exceptions are caught and handled by using

Exceptions are caught and handled by using
  • A. Try control construct
  • B. Catch control construct
  • C. Exception control construct
  • D. Both A and B
  • Correct Answer: Option D

An error that causes by failed code, is called as

An error that causes by failed code, is called as
  • A. Notice error
  • B. Fatal error
  • C. Warning error
  • D. None of them
  • Correct Answer: Option C