Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96812 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40494 invoked from network); 10 Nov 2016 11:10:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2016 11:10:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.181 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.161.181 mail-yw0-f181.google.com Received: from [209.85.161.181] ([209.85.161.181:34720] helo=mail-yw0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/F0-15787-98554285 for ; Thu, 10 Nov 2016 06:10:01 -0500 Received: by mail-yw0-f181.google.com with SMTP id t125so234676891ywc.1 for ; Thu, 10 Nov 2016 03:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Tgla38cz3qUKYa+v6cqVz2LsV8e9upPn7Qtb6nl+02w=; b=ojscI97/S+UOXAztKzpjIakRql6P5tvyPAdcMktZPG1EqbC5PvfK2BNbnm5/IS+QYo VhUimo9djmFEqMtZMRLDUniyeXPmedyYmNnzhYxgx+KrgjYI5T7o8IB4IktyssQhHZjh xP3NFVKl2c38CmVarO+1yQQQWXeYHFi7ozRtsNsLKB2o7iJStq8KNjD9OlfmpyQKLasQ IZeDsoFlfyrUC/kXR+yT5h/z0xD8T+fbrya16zZ00HdjbNMJq79+4T+2t5PKyY75r8tk A9fkfMgLe3XF2LUg2WmXveuDEOSvFvrbWvESYfqFbAN2tafHvRBPGNoDTlZOYTDhobyy q4MA== 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:from:date :message-id:subject:to:cc; bh=Tgla38cz3qUKYa+v6cqVz2LsV8e9upPn7Qtb6nl+02w=; b=ayGs4+GwOKbvLmY9GPrDRDVhAScAQ0ym5i+xIkhna0zse9vidccoLlqBY75JM5Ccrn AyLXhwMWzOb2h1Q2AfQdb0EC+BUhVFuK04w8CMx80Li4HFfXk6wfTbF/BN3bRTRtNtZi VjxvAkGOFJSCVrJeHNNNu9d3F8ZL5AITRQLBraPGZk5ltt2SLBhBo+H7GdgzdbHcDWNd K4A5V9NpMdhCX4Qzq7oQQrRzhUR7SaEgJydHIYVQqdR3TLEl3gy6DPB7WiW/7oXJlEV3 yal1q5MxXwvxgWQ4ii5b8os5ajkd3GC+N9aOyWfi2SVtzCkHRcLKge20bv8H7thxCT6r Sp0Q== X-Gm-Message-State: ABUngveTt5DkXUoAzyZhzTlJFCvpUcT07vPIRKrImt9ZhKGFmq6DUMId88yLr63oMq76WNwc5L/cRuKb+1bjeQ== X-Received: by 10.129.167.3 with SMTP id e3mr4950435ywh.60.1478776198856; Thu, 10 Nov 2016 03:09:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.36.2 with HTTP; Thu, 10 Nov 2016 03:09:18 -0800 (PST) In-Reply-To: References: <0c171a20-c72d-4157-1117-6628a52dd1f0@gmx.de> Date: Thu, 10 Nov 2016 11:09:18 +0000 Message-ID: To: Joe Watkins Cc: Niklas Keller , "Christoph M. Becker" , =?UTF-8?Q?Micha=C5=82_Brzuchalski?= , PHP Internals List Content-Type: multipart/alternative; boundary=94eb2c1461f209043f0540f06a52 Subject: Re: [PHP-DEV] [RFC][VOTE] Object typehint From: petercowburn@gmail.com (Peter Cowburn) --94eb2c1461f209043f0540f06a52 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10 November 2016 at 10:38, Joe Watkins wrote: > Morning Peter, > > > I'll put RFC: On hold, then apply patch, draft some info in RFC and the= n > set up new voting. > > Just a few messages up from here ... > > Would you prefer a new thread to make that announcement (I think it may b= e > better) ? > No, it's fine IMO (and is the norm) to just have a message in the [VOTE] thread. I simply missed Micha=C5=82 saying he was closing the vote, when skimming the thread this morning, so thanks for pointing it out. :) > > Cheers > Joe > > On Thu, Nov 10, 2016 at 9:52 AM, Peter Cowburn > wrote: > >> >> >> On 10 November 2016 at 09:11, Niklas Keller wrote: >> >>> 2016-11-09 21:53 GMT+01:00 Christoph M. Becker : >>> >>> > On 09.11.2016 at 17:28, Joe Watkins wrote: >>> > >>> > > I want to explain why I voted no on this: >>> > > >>> > > I think it's significantly less useful without variance, >>> variance is >>> > > something that is usually difficult to achieve in PHP, but not for >>> this >>> > > feature in particular. >>> > >>> > Can you please elaborate what you mean with variance? I see some >>> > practical use cases for covariance of a method with return type objec= t, >>> > but I don't see how contravariance could be achieved for parameters o= f >>> > type object. >>> > >>> > If your suggestion is only about invariance of object return types, I= 'm >>> > not sure if this very special case would make sense (for consistency >>> > reasons). >>> > >>> >>> We already have it for iterable -> array. We would have it for all othe= r >>> types if there wouldn't be an implementation issue. >>> >>> Regards, Niklas >>> >>> Cheers, >>> > Christoph >>> > >>> > > I absolutely want it, but I want it to be properly useful. >>> > > >>> > > If the RFC were halted and patched to include variance, I'd +1 >>> it. >>> > > >>> > > Cheers >>> > > Joe >>> > > >>> > > On Sun, Nov 6, 2016 at 5:28 PM, Micha=C5=82 Brzuchalski >>> >> > .com> >>> > > wrote: >>> > > >>> > >> Hi everyone, >>> > >> >>> > >> Two weeks have passed since this RFC was put to discussion here. >>> > >> >>> > >> Therefore, I'm going to put it to a vote for inclusion in PHP 7.2. >>> > >> >>> > >> Voting starts today, 2016-11-06, and will close after two weeks on >>> the >>> > >> Sunday 2016-11-20 at midnight. >>> > >> >>> > >> The RFC and voting widget can be found here: >>> > >> https://wiki.php.net/rfc/object-typehint >>> >> >> The vote appears to be closed right now, did I miss an announcement? >> >> >>> >>> > >> >>> > >> It's a normal 2/3 majority required vote. >>> > >> >>> > >> Thanks! >>> > >> -- >>> > >> regards / pozdrawiam, >>> > >> -- >>> > >> Micha=C5=82 Brzuchalski >>> > >> about.me/brzuchal >>> > >> brzuchalski.com >>> > >> >>> > > >>> > >>> > >>> > -- >>> > PHP Internals - PHP Runtime Development Mailing List >>> > To unsubscribe, visit: http://www.php.net/unsub.php >>> > >>> > >>> >> >> > --94eb2c1461f209043f0540f06a52--