Re: Generic classes and methods RFC

From: Date: Tue, 15 Sep 2015 09:30:48 +0000
Subject: Re: Generic classes and methods RFC
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-88208@lists.php.net to get a copy of this message
On Sep 12, 2015 16:57, "Andrea Faulds" <ajf@ajf.me> wrote: > > > I'm with Levi here, I think type parameters should matter for static methods. An example might be a list class: > Just because you want it, doesn't make it possible ;-) The class type variables are specified when instantiating the class. Since you don't do that for static methods, the runtime has no information about which type was specified at the time the static method is called. - Stig

« previous php.internals (#88208) next »