Explore exception handling in PHP applications through this comprehensive conference talk from PHP UK Conference 2012. Learn the fundamentals of exceptions, their differences from errors, and the concept of application robustness versus correctness. Dive into potential pitfalls of using exceptions and alternative strategies like status codes, null object pattern, and defensive programming. Examine PHP-specific exception implementation, quirks, and SPL exception classes. Analyze how popular frameworks handle exceptions, their strengths, and weaknesses. Delve deeper into PHP's exception classes and discover interesting applications. Gain insights into best practices, including avoiding empty catch blocks and adding context to exceptions, to improve application reliability and debugging efficiency.
Try - Getting People to Come to a Talk About Exceptions