Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58338 invoked from network); 9 Aug 2017 15:42:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2017 15:42:43 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.52 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.52 mail-it0-f52.google.com Received: from [209.85.214.52] ([209.85.214.52:35927] helo=mail-it0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/4C-34801-27D2B895 for ; Wed, 09 Aug 2017 11:42:43 -0400 Received: by mail-it0-f52.google.com with SMTP id 77so21501457itj.1 for ; Wed, 09 Aug 2017 08:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4Utqv8EG8NjIqwKSeT9yeUOSUilT9ua8I8QLhVotOnk=; b=BT/i9tMCZPKlkjK38m9snjRoWRtzamixlf67S6DiX2g5g428N5x2/pavUVp5AIgjUs JAlzaFgwq7j+oJH7mwyclTXJgXeMpgzynlW7TivSQG/0jFDViG9ysKHBCJ/fAhXDt/NR FQArcwCxguadlRJjwCjP1HYZLGh5a41WmWHTul3BuKXsEQxroGtnZpPdPP9kGakpdw3t Kw/66/2m/sM0LZgCcXFhjLqT58IPQ26Ql5FVwfjQ+7D9AbYH2QF+TBbVdcZW7ONLAfCy 3QYYALyMRlyB37umsuZJr0PvSDk1MhrEHUuHgnt6xbrNJSGX8Jfs2R4sT18IGZmJUsao bJtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4Utqv8EG8NjIqwKSeT9yeUOSUilT9ua8I8QLhVotOnk=; b=X9GgcMwXQgO8Mup16WDuH35ayaxCiLxDQZMcQ8RMAU1ko3YtCIwpjnbqNUxNMlVIGU yLpChCbs06c6OWRTB7DzDDLb1qgZ+dLFoZllvZhT5tk8b+sKDwNmqzeGgrT/nacXhDR6 alvcaa0yyL+jPzKDpXRLnFlyrhs6kfdJ0vKZWHkFiWDWDY7lFyjYXD2yySzSj2xI6K9M bMd9kHhkCLBZV4OF658IR6NwcTlJvEqklda1sV9x71UuF+kbeRkIfCrqaJ4WZkZFFyvt Htainr2r3vSqPDvg8Lc7vWrFI9BARB2ZehksywCFbr2evxj8HFKS8urlQtW0TCCe1HmD RcWA== X-Gm-Message-State: AHYfb5jluqJvnmIu9MyGqQgqHj+1U9R+zgp/QTrkh+6iA+wvv73+7ATZ xdVe1slBPczF27JiRzqOK4LWMqYPSQ== X-Received: by 10.36.94.15 with SMTP id h15mr7234386itb.71.1502293360146; Wed, 09 Aug 2017 08:42:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.13.3 with HTTP; Wed, 9 Aug 2017 08:42:39 -0700 (PDT) In-Reply-To: <67bd44f4-50cf-a74b-f075-a8345b82da10@gmx.de> References: <643d48f6-033b-a8ec-1fd3-8f0bba475428@gmx.de> <67bd44f4-50cf-a74b-f075-a8345b82da10@gmx.de> Date: Wed, 9 Aug 2017 17:42:39 +0200 Message-ID: To: "Christoph M. Becker" Cc: PHP internals Content-Type: multipart/alternative; boundary="001a11424ef2147da1055653ee28" Subject: Re: [VOTE] Deprecations for PHP 7.2 From: nikita.ppv@gmail.com (Nikita Popov) --001a11424ef2147da1055653ee28 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 9, 2017 at 5:23 PM, Christoph M. Becker wrote: > On 08.08.2017 at 18:07, Nikita Popov wrote: > > > On Tue, Aug 8, 2017 at 5:43 PM, Christoph M. Becker > > wrote: > > > >> On 29.01.2017 at 16:52, Nikita Popov wrote: > >> > >>> On Sun, Jan 15, 2017 at 3:27 PM, Nikita Popov > >> wrote: > >>> > >>>> I've started the vote on https://wiki.php.net/rfc/ > deprecations_php_7_2. > >>>> All votes are 2/3 majority and end on 29-01-2017. > >>> > >>> Voting has been closed, all of the proposals in this RFC have been > >> accepted > >>> within 2/3 majority. > >> > >> What's the status here? Have all deprecations been implemented? The > >> RFC is still listed in the "Pending Implementation" section ( > >> ). > > > > Apart from the last item everything is implemented. > > Thanks, Nikita. > > I assume that the $errcontext parameter of error handlers will not be > deprecated in PHP 7.2, but a later version. Would it make sense to > already document that the parameter shouldn't be used anymore (aka. soft > deprecation)? > I'm not sure on this one. I think it might actually be preferable to keep this as a documentation-only deprecation (and then directly remove it in PHP 8). I'm not really happy with the proposed action from the RFC (even though I suggested it myself), both in terms of behavior and implementation complexity. There's a number of fun edge-cases there, like a __call() method being used as error handler -- in that case the formal number of parameters is 2, but more might actually be used and we have no way to know. I don't even know what's supposed to happen in that case under the RFC. Nikita --001a11424ef2147da1055653ee28--