Re: Implementing Generics, and none scalar default properties.

From: Date: Fri, 25 Sep 2015 21:21:18 +0000
Subject: Re: Implementing Generics, and none scalar default properties.
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-88501@lists.php.net to get a copy of this message
Hi! > ability to set default values of properties to instances of objects or > calls to static methods or functions (expressions in general). That is what constructors are for. I.e. I can understand initializing static properties (though it gives a lot of potential for weird race conditions) but for non-statics constructor is exactly the place where initialization should happen. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#88501) next »