Exceptions in PHP: more complicated than it appears
summary
The talk examines PHP exceptions: it surveys the exception class hierarchy and the lack of strict standards, then analyzes subtleties of exception handling and logging. It explains why exceptions in PHP need special attention and gives guidance on how to choose and handle them correctly.
AI-written summary · about
chapters (7)
- 0:00Introduction to exceptions
- 1:15PHP exception evolution
- 5:18Checked vs unchecked exceptions
- 16:41PHP ambiguity solutions
- 20:32Best exception handling practices
- 27:59Logging and error handling
- 31:39Q&A
related talks
35mHandling Exceptional Conditions with Grace and Elegance
38mLeveraging Typed Exceptions for Cleaner Error Handling
51mLeveraging Typed Exceptions for Cleaner Error Handling
44mModern PHP Standards and Community
30mThe World of Laravel Exceptions
31mException design - the art of making debugging more accurate
32mJourney through "unhappy path" - Dealing with exceptional conditions
45mModernizing PHP one edge case at a time
