What is the purpose of a try-catch block in PHP?

Mark as favorite
Answer the question in 30 seconds!