Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102404 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32282 invoked from network); 24 Jun 2018 21:05:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2018 21:05:41 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.196 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.128.196 mail-wr0-f196.google.com Received: from [209.85.128.196] ([209.85.128.196:37014] helo=mail-wr0-f196.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/8E-13077-3A7003B5 for ; Sun, 24 Jun 2018 17:05:40 -0400 Received: by mail-wr0-f196.google.com with SMTP id k6-v6so11574412wrp.4 for ; Sun, 24 Jun 2018 14:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=1BMRExhs8Grzfl2+qs6JmjRqcbZSbyjxM++rdVrR2rY=; b=nelYUT13zKMSpWmmM16mtPJkO98PJN04l30zk+vVvjYVuSBTkpLcbJQDHHjF9Rt5pa c4Cp1VTuHhuu+qWSIRLikreK73Ui1JipFZPzbkOUv7dmrMrPWW+r/3gcDZsn7zCQjIkO dUsHMywa7hQ0zuAawLZWmcTA1+JtkrA3ScvOlGF23LaDZeiQInKQfyh/0tFqdH3cmvGm GpYd1FAOOMyyI7Vh21fh7KpYWBMEz7f4YnIxXZyaFj76tNMhtpNl5V9KuizeUl6+UKw4 l2G4Of3AUpttR/GHd2fenEJ0srlaE7CJIAYRNMqRoSTO697nFsiSHHhk51ugbKrrZF2q 0Z7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=1BMRExhs8Grzfl2+qs6JmjRqcbZSbyjxM++rdVrR2rY=; b=NlM7MmEov0hmUn2yTu+qweE7ZlrZdgpKm8LyH8OkFam43/hvUs9fXjvDXaaxwO9L4P JL3u/2t8oK3WjarhX7VEHZYhCStUOJFiT8bvgtmr+gyaFc0Zwj1VFNx5PlO54A0dqldn lsYJVd+KqlMh+tXhL7vbrqitYoUOhmLzUs01aS8WZBOE1auJAK1akAJPaj2oA4Wid0qP YdW3oTJ/zN+Loo9DCA8jDimYcTNCmIT1WdSePc6GafMsDaC8csQERCgpbRPLix9K/7Zj m1GdIvgqhBHWTEcQu/3OMwWp9SSBn1cqrJz3Z0EG4kxafno1mYo7GxQcsdd5Q0IsnsHv 2sbw== X-Gm-Message-State: APt69E0lygc5K8DePRlqbGd2b4NcEPXczGzMIJjv8fBRsS5MP59iFtWy zcOqeZlOOccxRtmq3nT8IP7XpVqS X-Google-Smtp-Source: AAOMgpdcUAJKJ5zJkkLWLndqgvbvAo+69rLVmIW8Ut/TDFqumwELe9q6OqonPCjVs4vOu9Z7j01IVg== X-Received: by 2002:adf:ec02:: with SMTP id x2-v6mr7363294wrn.245.1529874336883; Sun, 24 Jun 2018 14:05:36 -0700 (PDT) Received: from ?IPv6:2a00:23c4:4b86:4b00:4a6:b2b5:ed7b:8720? ([2a00:23c4:4b86:4b00:4a6:b2b5:ed7b:8720]) by smtp.googlemail.com with ESMTPSA id p8-v6sm3841236wrq.70.2018.06.24.14.05.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 14:05:36 -0700 (PDT) To: internals@lists.php.net References: Message-ID: Date: Sun, 24 Jun 2018 22:05:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [PHP-DEV] [RFC] Typed Properties From: rowan.collins@gmail.com (Rowan Collins) On 20/06/2018 22:59, Nikita Popov wrote: > Hi internals, > > Bob and I would like to present a new typed properties proposal for your > consideration: > > https://wiki.php.net/rfc/typed_properties_v2 Hi Nikita, and Bob, Thanks for the extremely thorough RFC. I think you've made a great case for the decisions you've taken, and it's reassuring to see so many edge-cases considered. In particular, the well-considered support for references makes it feel like a complete feature. The lack of "callable" is the only caveat that might surprise users, but I think it's justified, because we can't actually guarantee that something that was callable when it went in will be callable when it comes out. One thing that I would be interested to hear, is whether any of the groundwork laid here - particularly for typed references - would be useful if we were to introduce typed local variables in future. I don't want to derail the thread discussing exactly how this would work, but does anyone have a general hunch of whether this "brings us closer", IF we decided that was where we wanted to go? Regards, -- Rowan Collins [IMSoP]