Operations | Monitoring | ITSM | DevOps | Cloud

A guide to PHP exception handling

In most object-oriented languages, exceptions are an extremely powerful mechanism for dealing with unexpected situations that arise when running your code. PHP has supported robust exception handling since PHP 7.0. As you begin your programming journey, exceptions are a source of tremendous pain. Over time, you grow to appreciate the value they bring.