Re: Re: [PHP-DEV] New RFC
| From: | Tomáš Holan | Date: | Tue, 02 Aug 2016 08:59:20 +0000 |
| Subject: | Re: Re: [PHP-DEV] New RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94800@lists.php.net to get a copy of this message | ||
Oh that's sad, cause it's missing feature. But what we can do. Thanks for info Christoph.
----- Původní zpráva -----
Odesilatel: "Christoph Becker" <cmbecker69@gmx.de>
Příjemce: "Dan Ackroyd" <danack@basereality.com>, "Tomáš Holan"
<mail@tomasholan.eu>
Kopie: internals@lists.php.net
Datum: 02.08.2016 10:56
Předmět: Re: [PHP-DEV] New RFC
On 02.08.2016 at 09:11, Dan Ackroyd wrote:
> It has been thought about, and several people are looking at an
> implementation of generics: https://wiki.php.net/rfc/generics
> However,
> it seems quite hard to implement.
>
> I am beginning to wonder if rather than aiming for full support of
> generics listed in that RFC, instead we just aimed for arrays that can
> only contain one type of variable as a good first step.
For the record: there has been the "Array Of" RFC[1], but that has been
declined.
[1] <https://wiki.php.net/rfc/arrayof>
--
Christoph M. Becker