Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86564 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45375 invoked from network); 10 Jun 2015 15:31:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2015 15:31:12 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.181 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.181 mail-wi0-f181.google.com Received: from [209.85.212.181] ([209.85.212.181:34647] helo=mail-wi0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/06-15306-F3858755 for ; Wed, 10 Jun 2015 11:31:12 -0400 Received: by wibut5 with SMTP id ut5so52312194wib.1 for ; Wed, 10 Jun 2015 08:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=heotq8py4Xn0cWDY04bOW6w1mt8aCg7//K8rlg2HDX0=; b=z0gzVFOMmy0JQeQh5UXRmuZsSIoCmKsT8zYSCY8/ZcoFLM0egBsLG/L7CKz90sbp/A GF/34daPRlC7KToaZHzyhpFXwtbd3kb3x80TS4EU6n4pmpeSxrD4rE0FrQZuXSu6fN9Q XZ/8IzopjAbGZJ0BcfpkPd3zYuZ6pIxRJ2M8dgAlsXG5oujtSUoEY7+REyUR8M0uhjB+ 5DZMsnbOc2BzbDmTm8uEPb4dtSWA1rATiYHm9zBdnBSSga53xYICR8IAHZn6annbZG/+ iMByLlMUqVtasA4LjI5M1IOlnBYsHoZNkxI/oT1KqNEl2ry69/iQ1FM2l4d8U0icyZC4 36fA== X-Received: by 10.180.90.73 with SMTP id bu9mr20143235wib.88.1433950269012; Wed, 10 Jun 2015 08:31:09 -0700 (PDT) Received: from [192.168.0.159] ([62.189.198.114]) by mx.google.com with ESMTPSA id u6sm15047271wjy.13.2015.06.10.08.31.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2015 08:31:07 -0700 (PDT) Message-ID: <557857D3.3090600@gmail.com> Date: Wed, 10 Jun 2015 16:29:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: internals@lists.php.net References: <971AB39D-1E20-43E8-9CF1-A7F67E3C14C3@icicle.io> <556363D3.1040902@gmail.com> <12C3389A-AFF5-42CA-8190-E4227309DAED@icicle.io> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Throwable Interface From: rowan.collins@gmail.com (Rowan Collins) Levi Morrison wrote on 10/06/2015 15:37: > We have code that previously triggered error handlers or got caught by > exceptions and now will not trigger the handler nor get caught. AFAIK, the only things which are going to not inherit from Exception were things which didn't inherit from Exception in the first place. The only edge case is E_RECOVERABLE, which previously triggered an error handler, and now will require a different mechanism (catch ( Error $e ) or catch ( Throwable $e )). > 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. Regards, -- Rowan Collins [IMSoP]