Your Teacher | Jeffrey Way's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Nov 2nd, 2016

Often, you'll find yourself catching and responding to multiple exception types with the exact same logic. In PHP 7.1, however, you may now remove this duplication by separating each exception type with a pipe (catch (ChargeFailed | InsufficientFunds $e)).


    1. Install PHP 7.1

      Free Episode 3:09
    2. Nullable and Void Types

      Free Episode 6:18
    3. Iterables

      Free Episode 3:49
Back to Series Button