Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87834 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88450 invoked from network); 21 Aug 2015 10:14:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2015 10:14:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain paragonie.com from 209.85.212.171 cause and error) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.212.171 mail-wi0-f171.google.com Received: from [209.85.212.171] ([209.85.212.171:38831] helo=mail-wi0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/82-64560-7F9F6D55 for ; Fri, 21 Aug 2015 06:14:16 -0400 Received: by wicja10 with SMTP id ja10so12030892wic.1 for ; Fri, 21 Aug 2015 03:14:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=iWmSWq/EM2S1gKcgcLe0Kgb3D2F5YGVXzGxrWNw8Wzc=; b=kr0OOiCbw9edKdZBMCPg8JU3C5fr2fWvntrKJdAKlKhe/FcXYTLuOyxOWOGzClxqhq 9zCCZ5BqRHrGIvqBdBVf9MXS24I35xBEGS+Zvi/c6iVSJ21SU7/eXzUtteVNbwCz6nn/ cz03CPzVvvPAbQ4i3Qlf5c9V2I6urUOsFrrwFA9Urh4iM25NeHZRlWeUSzb7cXoehOuG Fmj6Nuxuvw1+yRW/b7spzu+00pqaaB8gPErlgc40CFXVutRl2hQRpraeECTuJuwDLcrE pHR8Tu0vRqF7/xXKOyER9t2PRDdKeyumWFnoySNTYamWZ9kuVBvqsGq4uz9T8LlpyzWU /rJA== X-Gm-Message-State: ALoCoQmIo0RSz/KMMKw9aEg+Vh/yiYI9zyAHpJUOpbaA/9oU42vNwfGiSQA8XfhSrwAL7C1M9qeE MIME-Version: 1.0 X-Received: by 10.194.52.105 with SMTP id s9mr14285479wjo.53.1440152052818; Fri, 21 Aug 2015 03:14:12 -0700 (PDT) Received: by 10.28.133.67 with HTTP; Fri, 21 Aug 2015 03:14:12 -0700 (PDT) In-Reply-To: References: <99CE9AAF-E6E9-4D37-B462-E4A63139EAFB@icicle.io> Date: Fri, 21 Aug 2015 06:14:12 -0400 Message-ID: To: Pierre Joye 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: scott@paragonie.com (Scott Arciszewski) On Fri, Aug 21, 2015 at 3:52 AM, Pierre Joye wrote: > 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 Fine, let's do this: 1. Violate the feature freeze for this exceptional decision. 2. One of the folks in the camp that WANTS an RFC and a drawn out formal decision-making process opens it with a poll. 3. Give me voting karma. Let's NOT make the CSPRNG feature fail open. That is an absolutely terrible idea. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises