Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38223 invoked from network); 19 Aug 2015 15:35:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2015 15:35:43 -0000 Authentication-Results: pb1.pair.com header.from=rican7@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rican7@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.175 as permitted sender) X-PHP-List-Original-Sender: rican7@gmail.com X-Host-Fingerprint: 209.85.214.175 mail-ob0-f175.google.com Received: from [209.85.214.175] ([209.85.214.175:33300] helo=mail-ob0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/1C-54915-C42A4D55 for ; Wed, 19 Aug 2015 11:35:42 -0400 Received: by obbhe7 with SMTP id he7so7431800obb.0 for ; Wed, 19 Aug 2015 08:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=FNNkyaGXW/SBs2cU4qJYp8pgVzuhElQGutBsGZxed9s=; b=KfutFjZSRUPfCUCUQkRvf7O7PYB5cSdlZo127W89BwUB3iSgIkpxs3fwqymtuJ6FsO dCdbHDM7gBA4bWt9A3mywTNVl4bhMNpFl4Cu3HJihY3p/08xgEJUbDepdVyQhg6zjB0f rZTxX4kjk9tbyHZ/X4vDDtK3LL9upiRYZDG7trYhI8s13jqZ2J3ob6aIp2Il9x6xQpV/ OwooQmOpEePMQCL5njxWMBReN74ohZhLw6lFsfLyxuJv4pIbsZ8clKhycn2fiRYfobU9 UdHY9KCj4qWQBI+IisSKOoG8+xLav4VpreEmmvG5A7PVjvmik0nOAtuN7ZCLrAv+CyeA xVAg== X-Received: by 10.60.65.68 with SMTP id v4mr11013768oes.84.1439998536880; Wed, 19 Aug 2015 08:35:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 19 Aug 2015 15:35:27 +0000 Message-ID: To: Scott Arciszewski , Nikita Popov , PHP Internals , Aaron Piotrowski Content-Type: multipart/alternative; boundary=001a11c1cb684497c8051dabc9b4 Subject: Re: [PHP-DEV] Core functions throwing exceptions in PHP7 From: rican7@gmail.com (Trevor Suarez) --001a11c1cb684497c8051dabc9b4 Content-Type: text/plain; charset=UTF-8 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 Sat, Aug 1, 2015 at 6:16 PM Scott Arciszewski wrote: > On Sat, Aug 1, 2015 at 6:37 AM, Nikita Popov wrote: > > tl;dr: This should definitely throw, but I'm as yet unclear as to *what* > it > > should throw. My gut says zpp should throw Error, length/min/max errors > > should throw Error and the randomness-not-available condition should > throw > > Exception. > > Hi Nikita, > > This sounds reasonable to me. As I've said before, I don't have any > real preference for which is thrown. If Aaron (author of the Throwable > RFC that passed unanimously) wants to chime in, I'd almost certainly > go with whatever you, him, and Anthony could agree on. > > Scott Arciszewski > Chief Development Officer > Paragon Initiative Enterprises > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a11c1cb684497c8051dabc9b4--