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" <cmbecke...@gmx.de> 
Příjemce: "Dan Ackroyd" <dan...@basereality.com>, "Tomáš Holan" 
<m...@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




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to