nerdexam
Zend

200-710 · Question #226

True or false: you can catch fatal errors (e.g., parse errors, out of memory errors, compilation errors) in PHP 7 using try/catch.

The correct answer is B. False. See the full explanation below for the reasoning.

Error Handling

Question

True or false: you can catch fatal errors (e.g., parse errors, out of memory errors, compilation errors) in PHP 7 using try/catch.

Options

  • ATrue
  • BFalse
  • C
  • D

How the community answered

(60 responses)
  • A
    5% (3)
  • B
    80% (48)
  • C
    3% (2)
  • D
    12% (7)

Topics

#fatal errors#try/catch#PHP 7 errors#Error class

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice