Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90914 invoked from network); 10 Jun 2015 23:13:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2015 23:13:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.171 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.171 mail-ig0-f171.google.com Received: from [209.85.213.171] ([209.85.213.171:38167] helo=mail-ig0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/54-63696-D94C8755 for ; Wed, 10 Jun 2015 19:13:33 -0400 Received: by igblz2 with SMTP id lz2so43470554igb.1 for ; Wed, 10 Jun 2015 16:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=S4v3o4vhwemo4h9xa0/xWvRSFMt8oKepMg/ZG8me8ns=; b=UQBGyyPiOFAj5JsJZAU0FfnM6bum2URjQabYjH5OIaw3D0KCEtgYkOXVKmTeCuJIrp 4Uk32LofqONkoj0u4TGQOWi/Qq/Qa/MT8tv5SFvyrHfbkz5npg9Y9F3rYWd/zVo0Wjmq 8iZ65hgCo7NbyPdILSPHKyCRKqZ0AyGy5bcZ1GvEnOozvJf7Nmg9IXEtduNPydbdOvMS H42M8XwF9k9bsfJ2NXZrub5d1Dst4vKjHt8AvILu9eQa/dl6ONohhextNBO0u1W/WXzq /gV3NF5elJG2Lk3+mvxYdUe6WugMDesxaIL2PovbWgXZGZV4lfJIeVtSL3t3y89LrGB3 iXpw== MIME-Version: 1.0 X-Received: by 10.50.61.161 with SMTP id q1mr8111174igr.12.1433978010038; Wed, 10 Jun 2015 16:13:30 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.79.20.5 with HTTP; Wed, 10 Jun 2015 16:13:29 -0700 (PDT) In-Reply-To: <557857D3.3090600@gmail.com> References: <971AB39D-1E20-43E8-9CF1-A7F67E3C14C3@icicle.io> <556363D3.1040902@gmail.com> <12C3389A-AFF5-42CA-8190-E4227309DAED@icicle.io> <557857D3.3090600@gmail.com> Date: Wed, 10 Jun 2015 17:13:29 -0600 X-Google-Sender-Auth: OWgciqaLDY3ebL_Q1-iR0sXMw6g Message-ID: To: Rowan Collins Cc: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Throwable Interface From: levim@php.net (Levi Morrison) >> some non-fatals were converted (TypeException) > > > There was no equivalent to TypeException in previous versions of PHP, so in > what sense has it been "converted"? Maybe I'm being thick and there's a > situation that has been, but the only type-related error I know of was > type-hinting classes, which were fatal. When an argument was provided that did not fulfill the parameter's type requirement an E_RECOVERABLE was emitted. This meant that the error handler was triggered. Now it will not be triggered, nor will it get caught by `catch (Exception)`.