note 99148 deleted from reflectionclass.getparentclass by danbrown

From: Date: Fri, 30 Jul 2010 13:53:09 +0000
Subject: note 99148 deleted from reflectionclass.getparentclass by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171229@lists.php.net to get a copy of this message
Note Submitter: info at yogularm dot de ---- Why don't you just write something like this? <?php $reflection = new ReflectionClass('MyClass'); echo $reflection->getParentClass()->getName(); ?> (Testet under PHP 5.3.1)

« previous php.notes (#171229) next »