Re: Static constructor support
| From: | shiplu | Date: | Fri, 28 Sep 2012 05:06:47 +0000 |
| Subject: | Re: Static constructor support | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319291@lists.php.net to get a copy of this message | ||
Somewhere in Internet I found this form.
class MyClass{
static private $somevar;
static public function init(){
}
} MyClass::init();
Now I am using this consistently.
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader