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