note 45812 deleted from language.oop5.constants by nlopess

From: Date: Mon, 20 Sep 2004 16:59:37 +0000
Subject: note 45812 deleted from language.oop5.constants by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77061@lists.php.net to get a copy of this message
Note Submitter: cellog at php dot spamgone dot netgone ---- note that you can retrieve a class constant (among other useful things) using reflection <?php class test { const my = 'hi world'; } $refl = new ReflectionClass('test'); echo $refl->getConstant('my'); ?>

« previous php.notes (#77061) next »