Re: [RFC] Mixed type
| From: | Gabriel Caruso | Date: | Thu, 23 Apr 2020 16:17:02 +0000 |
| Subject: | Re: [RFC] Mixed type | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109817@lists.php.net to get a copy of this message | ||
On Mon, 20 Apr 2020 at 13:18, Dan Ackroyd <Danack@basereality.com> wrote:
> Hi Internals,
>
> Here is an RFC for adding a 'mixed' type to the language:
> https://wiki.php.net/rfc/mixed_type_v2
> The RFC builds on an earlier draft by Michael Moravec.
>
> Part of the motivation for pursuing this RFC was my recent experience
> in upgrading an application to PHP 7.4.
>
> Being able to add types to the application made the code much easier
> to reason about, but there were places where I couldn't add type info
> due to the lack of mixed. That made it hard to see if that piece of
> code had been upgraded (but type info couldn't be added), or if that
> code still needed to be upgraded.
>
> cheers
> Dan
> Ack
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Hello Danack
Has the type
any been considered? I've discussed that in the
implementation Pull Request with Máté.
Would it be too much to create a sub-voting for the type used here?
Best regards,