Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102453 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91301 invoked from network); 26 Jun 2018 11:39:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2018 11:39:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.194 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.128.194 mail-wr0-f194.google.com Received: from [209.85.128.194] ([209.85.128.194:41172] helo=mail-wr0-f194.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/44-50433-9D5223B5 for ; Tue, 26 Jun 2018 07:39:05 -0400 Received: by mail-wr0-f194.google.com with SMTP id h10-v6so16888236wrq.8 for ; Tue, 26 Jun 2018 04:39:05 -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=D4h/z2Q+Yy1WLDTVDBNR4wLBaP+q8TPx0e39bwPZOSc=; b=hahp4EWu9r47ocU6TL6IfeEBRIkguinHiIs0drfbLGUan+/fLPQaA/dyDf4NEW38mf AhJVwNqqmba29QS5d8Gng1vaABnn8ak6Ui3xNrrey+pG/9hmjIALDUJNBYru3rhV9aDw 2TV7bckAA5ZDccsoYZQLhutxk3dL62GmIYz6PmhIMAgquzJeHe2g4idQnG8WxTJNvDGi 0DAOPHzc+X9y2/PhO24F/An345S/1r3sbfl86bG6B5zPcW3rOaTALxH5n8W7iX8WxYeZ TdFYTjnN5R3hc0G46Vyx1Demcy/bo//yaWW0nD5QtAiNdXX9yvQhmAUJbLNUu+Jf5Wlx 90Sw== 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=D4h/z2Q+Yy1WLDTVDBNR4wLBaP+q8TPx0e39bwPZOSc=; b=ZZAgXqWUea8rqZMAStKI5p1pJB3qZ1acMszqonoVdUS098iDvp9K97SN+yxeLLplyf gajZf2oebJTOvEAJ+ogYe5arDpypCZ/OQvgJ/s76LtxtnQfN3xRiCnEGq3kNRwezqFE+ GKmaRh0t7FXdvCPMOxwMvTq0rNe0vq7wIfyyjxlSj7eGL2mg1oXaFwabzC3LjTP6oSHg Cje3xXxKXs7H5WJevS1PB+vpPGwO9KEvv3WFtqcQQLXcUB//m7fryNhiGCsTtzk6DBVM kaPixH8F1/X0MJUDQ9qDcGwoYX/WgtLAVUIjIBpZcVd4gGOKh404SN+Be44UCombFUwf zqmA== X-Gm-Message-State: APt69E0hOdA0q/1+O6DPZYofwutHBSqDB3T8Fdm0M3A4kH6qT8vh45Lq pBygPpvdElS6MPN1fdhTFZpLyAMjKw37SwTvcUE= X-Google-Smtp-Source: AAOMgpemEhjAbJzwZEo+aLp9zD4hdYblAiCgDp3ClxwHyb44HlbUtjrsJFeGhiloefyA0ziK8F+VemtgRnSTuXiKptQ= X-Received: by 2002:adf:b69c:: with SMTP id j28-v6mr1039875wre.200.1530013142595; Tue, 26 Jun 2018 04:39:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:f18c:0:0:0:0:0 with HTTP; Tue, 26 Jun 2018 04:38:41 -0700 (PDT) In-Reply-To: References: Date: Tue, 26 Jun 2018 13:38:41 +0200 Message-ID: To: Rowan Collins Cc: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000ddbc05056f89f1bc" Subject: Re: [PHP-DEV] [RFC] Typed Properties From: ocramius@gmail.com (Marco Pivetta) --000000000000ddbc05056f89f1bc Content-Type: text/plain; charset="UTF-8" I'm not sure why the mailing list is not picking up my messages, but TL:DR; is that I spent the weekend testing all of its corners, and the patch works flawlessly and can be pushed forward IMO. It works consistently with current PHP semantics and significantly improves the language, so let's make this happen :-) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Sun, Jun 24, 2018 at 11:05 PM, Rowan Collins wrote: > 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] > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000000000000ddbc05056f89f1bc--