note 97934 deleted from language.oop5.decon by danbrown

From: Date: Mon, 17 May 2010 13:50:36 +0000
Subject: note 97934 deleted from language.oop5.decon by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169325@lists.php.net to get a copy of this message
Note Submitter: markus at malkusch dot de ---- PHP only supports object constructors. Object contructors are called for every new instance of a class. A class constructor would be called only once per class definition. PHP doesn't support a class constructor. But you can implement it by yourself with an autoloader. There exists already an autoloader implementation which supports the class constructor __static(): http://php-autoloader.malkusch.de/en/

« previous php.notes (#169325) next »