Re: [RFC:generics]

From: Date: Tue, 19 Apr 2016 23:13:13 +0000
Subject: Re: [RFC:generics]
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-92507@lists.php.net to get a copy of this message
Hi! > class Collection<T as (Traversable | Countable)> {... I am sorry if this sounds harsh, but I really hope we won't have something like this in PHP. Java templates are complex and weird enough, adding another layer on top of that to allow type expressions IMHO is really taking it too far. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#92507) next »