Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86645 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86684 invoked from network); 15 Jun 2015 08:53:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2015 08:53:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.160.179 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.160.179 mail-yk0-f179.google.com Received: from [209.85.160.179] ([209.85.160.179:33067] helo=mail-yk0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/10-19613-4829E755 for ; Mon, 15 Jun 2015 04:53:26 -0400 Received: by ykfr66 with SMTP id r66so50988893ykf.0 for ; Mon, 15 Jun 2015 01:53:21 -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=pcED+zZaWqZyX4tjrNSiTWDIlAwSRoH3dvBLlrfE3cY=; b=YNjopKVNgVE1B3irxp5mZimPanHhyWWDD7u9RM9J/lbGja7AWjsuX2JsaO3JHw6p3E LPwzMZCH0wM/z08WVmZog8AH86OKCVWMRhmEth197FrHLk26f/QYbhoZ0e9uI82FRFOK UC19hlRcrYgIL/aN4QRaLieyu4sXChDYhUeILz4OUCtd99zY+/iYuNE1EtdlbVk9mAlO 8dnkG/+5Pambcvx8iiB34Vpt7xLSuM4YSTfDuhRlLeb/LpV8IFkUtuvMvyC0FkwR+dIM 2Edrk4CBwxzVBF47LwI4TN593h6lnaRJtgFrFbqQeGcVXvtFLbzg/bv+LPxlG6t+H0j4 8QpA== X-Gm-Message-State: ALoCoQnh15hVsxyiPqbT4HHMhccBSIrWUu9YNlBNTLqu4IqQkZwxaJTUEROjtGxsawq6BTjVxipp8ncKJg8uHoKAWDSviKvSpovCV+xWT6JGtGHQ3zahaAgwLXt8IKSZC9lNekOmJje1rIpfKt4aS2EgBu/HWgsh3dR/b2VfPaINaDiYssxqZ5s= MIME-Version: 1.0 X-Received: by 10.52.3.42 with SMTP id 10mr39764228vdz.10.1434358401321; Mon, 15 Jun 2015 01:53:21 -0700 (PDT) Received: by 10.31.10.201 with HTTP; Mon, 15 Jun 2015 01:53:21 -0700 (PDT) In-Reply-To: <0A4CC87D-2E54-4202-9AA2-22856F0B6011@icicle.io> References: <971AB39D-1E20-43E8-9CF1-A7F67E3C14C3@icicle.io> <556363D3.1040902@gmail.com> <12C3389A-AFF5-42CA-8190-E4227309DAED@icicle.io> <016201d0a6bf$96e37dc0$c4aa7940$@belski.net> <0A4CC87D-2E54-4202-9AA2-22856F0B6011@icicle.io> Date: Mon, 15 Jun 2015 11:53:21 +0300 Message-ID: To: Aaron Piotrowski Cc: Anatol Belski , PHP Internals Content-Type: multipart/alternative; boundary=485b397dd613fe135f05188a96ca Subject: Re: [PHP-DEV] [RFC] Throwable Interface From: dmitry@zend.com (Dmitry Stogov) --485b397dd613fe135f05188a96ca Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I made a quick code review, and I don't see any technical problems in implementation. 1) Anyway, I think it's a bad idea to rename "EngineException" (and others) into "Error"(s). This will prevent using class "Error" in applications, and may potentially break some of them. I also don't like renaming in ~440 tests (I didn't review all these changes). 2) I think it's better to move "zend_ce_throwable" definition/initialization from zend_interfaces.h/c into zend_exception.h/c. At least, this will allow arg_info reuse. (it's missed now, but should be added now or in the future). 3) In ext/simplexml/tests/SimpleXMLElement_xpath_3.phpt EngineExcpetion is not renamed into Error. Thanks. Dmitry. On Sun, Jun 14, 2015 at 8:24 PM, Aaron Piotrowski wrote: > > > On Jun 14, 2015, at 11:31 AM, Anatol Belski > wrote: > > > > Hi Dmitry, > > > > > > > > I would go by accepting this. Furthermore =E2=80=93 if you feel that th= e > implementation is stable enough and does not BC, I would suggest to have = it > already in the alpha2. > > > > > > > > As there seems to be at all no resistance in the votes (no even single > =E2=80=9Cno=E2=80=9D voter yet), nor strong objection here on the lists.= The minimal > voting period is 1 week, so theoretically if it were ended on Wed (the > voting RFC doesn=E2=80=99t disallow this) =E2=80=93 there were still some= time to do > extensive testing and fixes. Alpha2 is the time where a) a lot of users > will be able to test it and b) it still can be reverted in the worst case= . > > > > > > > > What do you think? > > > > > > > > Regards > > > > > > > > Anatol > > > > I will have some time to resolve the merge conflicts later today, so I > will be happy to take care of that. > > Regards, > Aaron Piotrowski > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --485b397dd613fe135f05188a96ca--