Re: static constructor
| From: | Marco Pivetta | Date: | Wed, 11 Mar 2015 23:30:07 +0000 |
| Subject: | Re: static constructor | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84603@lists.php.net to get a copy of this message | ||
On 12 March 2015 at 00:21, Johannes Ott <mail@deroetzi.de> wrote:
> The purpose of this suggestion is to introduce a static constructor,
> which is called before the first call to class either static or
> non-static to initialize some static properties which are needed by the
> class.
>
Hey Johannes,
Why can't this be done at autoloading time?
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/