Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87827 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53484 invoked from network); 21 Aug 2015 07:53:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2015 07:53:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.54 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.54 mail-oi0-f54.google.com Received: from [209.85.218.54] ([209.85.218.54:35071] helo=mail-oi0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/81-28763-DD8D6D55 for ; Fri, 21 Aug 2015 03:53:02 -0400 Received: by oiew67 with SMTP id w67so37392301oie.2 for ; Fri, 21 Aug 2015 00:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gQpkXJd3h+xtdVRU4JPp7thpdHAkuZA3l3vWy1lTcfk=; b=QxMRqCPMqCI9P/M5QgErKz/pDD9yC0C8koZHgiFxd5ajpgbdJPd+x7OAJA/q3lO8o5 wz3UIyViWuqWNdiedW8bUb5T0vNUyP+/7hBC0io0nw0XB2WnaystI5JE3qg3GkmBgNMn hDXTk7Dj6AMRsOGfORe9rlsWRffeGsi7YzKWHmXaw/SHlkwa1Nlxq8vfYkwiZR7wnr8C uDIheKS8sQmHBM8e26ed+7CQVSJcVk68MkjA9JmnR62nQoVrRR5XuW+6y4MG4PaMABOj f5fGGPjqdxfiGRP/yfstGRviHB8lJvEV0ovOy+30cgQ/U6VA5IHu65rOAga6wPEshujl WkIA== MIME-Version: 1.0 X-Received: by 10.202.102.24 with SMTP id a24mr6387848oic.62.1440143578975; Fri, 21 Aug 2015 00:52:58 -0700 (PDT) Received: by 10.202.227.74 with HTTP; Fri, 21 Aug 2015 00:52:58 -0700 (PDT) In-Reply-To: References: <99CE9AAF-E6E9-4D37-B462-E4A63139EAFB@icicle.io> Date: Fri, 21 Aug 2015 14:52:58 +0700 Message-ID: To: Scott Arciszewski Cc: Trevor Suarez , Niklas Keller , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Recap - Core functions throwing exceptions in PHP7 From: pierre.php@gmail.com (Pierre Joye) On Fri, Aug 21, 2015 at 9:38 AM, Scott Arciszewski wrote: > On Wed, Aug 19, 2015 at 11:36 AM, Trevor Suarez wrote: >> Ah, I didn't realize this thread existed. I had just commented on the old >> one, but the point still stands: >> >> PHP 7.0 RC1 was just tagged. >> Shouldn't this be a relatively high priority to fix/decide so we don't end >> up with behavior that can't be fixed until PHP 8.0? >> >> On Mon, Aug 10, 2015 at 6:54 PM Niklas Keller wrote: >>> >>> > >>> > Okay, great, we have people on both sides on this discussion. I hope >>> > nobody minds if I sit this part out. >>> > >>> > What specifics need to be discussed? Should somebody set up a poll? (I >>> > don't know how to do that.) >>> >>> >>> You can find information on how to setup a poll in step 6 here: >>> https://wiki.php.net/rfc/howto >>> >>> Regards, Niklas > > I agree that this should be a relatively high priority. I'm not sure > what the next steps would be. (Aside: I still have a PR I need to > write that I've been holding off on until the fate of PHP 7's CSPRNG > feature is determined.) > > Can we reach some sort of consensus on throw new Exception vs throw new Error? I think the best would be a RFC, not only for the decision itself but also to have a clear view about what will be changed or affected. Cheers, -- Pierre @pierrejoye | http://www.libgd.org