Q. Which PHP feature allows defining custom error handling?

  • (A) try-catch
  • (B) set_error_handler()
  • (C) register_shutdown_function()
  • (D) error_reporting()
πŸ’¬ Discuss
βœ… Correct Answer: (B) set_error_handler()
Explanation: set_error_handler() defines custom error handlers.
Explanation by: Mr. Dubey
set_error_handler() defines custom error handlers.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
51
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate