note 85861 deleted from language.namespaces by philip

From: Date: Fri, 28 Nov 2008 18:50:11 +0000
Subject: note 85861 deleted from language.namespaces by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147097@lists.php.net to get a copy of this message
Note Submitter: greg at chiaraquartet dot net ---- the previously submitted note is incorrect. A::foo(); is identical to ::A::foo(); in the global namespace. The only way to successfully call the static method is to instantiate A and call it like: <?php $a = new A; $a->foo(); ?> or to use reflection. This limitation is addressed in patches I have proposed, so the implementation may yet be usable in this regard.

« previous php.notes (#147097) next »