note 98871 deleted from language.operators.precedence by hholzgra

From: Date: Thu, 02 Aug 2012 14:09:53 +0000
Subject: note 98871 deleted from language.operators.precedence by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189786@lists.php.net to get a copy of this message
Note Submitter: kiamlaluno at avpnet dot org ---- Be careful of the difference between <?php $obj = new class::$staticVariable(); ?> <?php $value = class::$staticVariable(); ?> In the first case, the object class will depend on the static variable class::$staticVariable, while in the second case it will be invoked the method whose name is contained in the variable $staticVariable.

« previous php.notes (#189786) next »