note 104207 deleted from language.oop5.abstract by thiago

From: Date: Wed, 01 Jun 2011 12:54:41 +0000
Subject: note 104207 deleted from language.oop5.abstract by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180163@lists.php.net to get a copy of this message
Note Submitter: joelhy ---- The documentation says: "It is not allowed to create an instance of a class that has been defined as abstract.". It only means you cannot initialize an object from an abstract class. Invoking static method of abstract class is still feasible. For example: <?php abstract class Foo { static function bar() { echo "test\n"; } } Foo::bar(); ?>

« previous php.notes (#180163) next »