Re: New RFC draft "static class constructor"

From: Date: Mon, 13 Apr 2015 22:16:11 +0000
Subject: Re: New RFC draft "static class constructor"
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-85792@lists.php.net to get a copy of this message
> - IMO, the method should be called when the class is created, just after every parent class and > implemented interfaces are created. In general I think static class data and static class constructors are a sign of poorly designed code, which means I am against this feature. If it does make it though I agree with this statement above. The behavior proposed in the RFC makes it non-obvious when the class constructor is run and would much prefer it happening immediately after definition.

« previous php.internals (#85792) next »