Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87826 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4430 invoked from network); 21 Aug 2015 02:38:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Aug 2015 02:38:15 -0000 Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain paragonie.com from 209.85.212.181 cause and error) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.212.181 mail-wi0-f181.google.com Received: from [209.85.212.181] ([209.85.212.181:34169] helo=mail-wi0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/60-02173-51F86D55 for ; Thu, 20 Aug 2015 22:38:14 -0400 Received: by wicne3 with SMTP id ne3so7914815wic.1 for ; Thu, 20 Aug 2015 19:38:11 -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=bHgYdWLYF6R0kECSg+0bk0IisXsmOkccjt48kwS3nUI=; b=NFKa1uNcFUOi71MlqkiOr7svAyqhP5GsA+6Jo1G7ZwajRvkAcrE9LMMmwCnVfoRcu5 j5B3Y2P3A2BHZK+dBpmb9niazXFwNx7sA9wvbYRHx99OWPBql8B1vUEwBX9jb/Pix65o 5I8jsbUEwTUNMDTcGj4307ZafPs77ppE8PlMN9VGgUjO3FJGkb4ahdi2ZTgRidC7YCZp P1+y/a5TE9LH+Cf/AlfyHP7dgcOyyT6b++iszpo12RntKcknIPoFUtoqRTLpRqAU5fhz OssBsmeIn5UZxlkaLAMHfZBHJJrGHEGXObh4ll2/0a30UjiB5/kODfdE5DkEZR4O7aQz 5CJQ== X-Gm-Message-State: ALoCoQmLHp8rgDw9nJZdPO4AdPLvGHbe1yHoGOc0RSqdj6iRLd8/SP/wv1PEIeQtgs/oaHhueiTZ MIME-Version: 1.0 X-Received: by 10.180.9.162 with SMTP id a2mr1663277wib.95.1440124690988; Thu, 20 Aug 2015 19:38:10 -0700 (PDT) Received: by 10.28.133.67 with HTTP; Thu, 20 Aug 2015 19:38:10 -0700 (PDT) In-Reply-To: References: <99CE9AAF-E6E9-4D37-B462-E4A63139EAFB@icicle.io> Date: Thu, 20 Aug 2015 22:38:10 -0400 Message-ID: To: Trevor Suarez Cc: 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 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? Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises