A

Admin • 833K Points
Coach

Q. Which of the following is used to handle errors in PHP?

  • (A) try-catch
  • (B) onerror
  • (C) exception block
  • (D) fail block
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

PHP uses try-catch blocks to handle exceptions and errors.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.