[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    Re: [PHP-DEV] [RFC] Typed Properties
From:       Marco Pivetta <ocramius () gmail ! com>
Date:       2018-06-26 11:38:41
Message-ID: CADyq6s+9Eo8qp7C8jk0SN2nuKh_4k9K7WxmkZTOtDLsrhDaD1A () mail ! gmail ! com
[Download RAW message or body]


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 <rowan.collins@gmail.com>
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
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic