Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84467 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67794 invoked from network); 9 Mar 2015 12:34:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2015 12:34:36 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.179 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.179 mail-vc0-f179.google.com Received: from [209.85.220.179] ([209.85.220.179:43166] helo=mail-vc0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/5E-29848-B539DF45 for ; Mon, 09 Mar 2015 07:34:36 -0500 Received: by mail-vc0-f179.google.com with SMTP id la4so14784189vcb.10 for ; Mon, 09 Mar 2015 05:34:32 -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=E6nAKyEf/xE7lxyIeriRZCOmGLVBAYaNO24WlIkqvEg=; b=i6ztAP1DCNojyIhCDgpVmFDHpxpOYdvor/uDcfi+JE81zU2/uVKEvYX77Uulm3SjH1 pEb9GN+vSe24O8Z1kShAHpfvBnaHEzv/XdgNECtPMkLKeR/tfP1BO0kc7/+BiaetL5SE 48iCsT4QCF+l6Gz+rUGNGu5A4ErpNmkl8OAbR3HDA4aulMt3UXjb5ZZJwXw3Two6lOcO GhmYtBbGse/CvpDuNRmGCYxfCry1zs60Rz/ZhTD8Wkbagy2jJlOhbY7y8NUapEC7Oylh WoERBH3IVt7UPuVDHoMMgMmSUTmAuNANhctHfjJVQxHVrm/hZN5xf+Fnha+UkYHZAh9P jt3g== X-Gm-Message-State: ALoCoQlo0o4msVVA3Ty9lVbeNUGejwSUddCrUB5GiLoQ7UoWnOJbnejdd0LXVryDxaaox7SJF96//xYVVu7all+9d6cJilm1sf7JLQkw6M0L8A/amIeBTIQxdi/Kn4pB5kZqOTfj/UkJfkHEUgC51AGB31TVMsGEuA== MIME-Version: 1.0 X-Received: by 10.52.52.136 with SMTP id t8mr33209195vdo.49.1425904472733; Mon, 09 Mar 2015 05:34:32 -0700 (PDT) Received: by 10.52.113.231 with HTTP; Mon, 9 Mar 2015 05:34:32 -0700 (PDT) Received: by 10.52.113.231 with HTTP; Mon, 9 Mar 2015 05:34:32 -0700 (PDT) In-Reply-To: References: Date: Mon, 9 Mar 2015 15:34:32 +0300 Message-ID: To: Nikita Popov Cc: PHP Internals Content-Type: multipart/alternative; boundary=089e0115f04894cfe00510da4112 Subject: Re: [VOTE] Exceptions in the engine From: dmitry@zend.com (Dmitry Stogov) --089e0115f04894cfe00510da4112 Content-Type: text/plain; charset=UTF-8 On Mar 8, 2015 9:26 PM, "Nikita Popov" wrote: > > On Mon, Feb 23, 2015 at 7:15 PM, Nikita Popov wrote: >> >> Hi internals! >> >> Voting on the engine exceptions RFC, which proposes to convert existing fatal and recoverable fatal errors into exceptions, has opened: >> >> https://wiki.php.net/rfc/engine_exceptions_for_php7#vote >> >> The primary vote requires a 2/3 majority, as this is a language change. >> >> A second vote will decide whether to use a BaseException based inheritance hierarchy. This vote uses a simple majority. >> >> Voting is open until 2015-03-08. > > > This RFC has been accepted with 60 votes in favor and 2 against. The BaseException hierarchy has been accepted with 39 in favor and 19 against. > > During voting some concerns about the naming of the BaseException class have been raised. This detail can be sorted out in a follow-up discussion - changing this (assuming only the name is changed) is simple and only a couple of tests need to be adjusted. > > Dmitry, do you want to merge your current patch? Hi, Yes, I would prefer to merge it, because the patch is big and keeping it in synch with master is additional overhead. Also we will able to start converting more errors to exceptions. Please merge (I don't work today). On the other hand, I'm agree that using Throwable interface may make sense. If we have implementation and short RFC, I think we may start voting immediately, because it was already discussed together with this RFC. Thanks. Dmitry. > > Nikita --089e0115f04894cfe00510da4112--