Re: parent classes

From: Date: Mon, 01 Sep 2003 08:19:00 +0000
Subject: Re: parent classes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161351@lists.php.net to get a copy of this message
Hi, If I'm not mistaking here, you can not find the parent(s) of a class without an instance and it is quite logical. Since PHP is not a compiled language, the parent is available only at runtime. Cheers, Catalin "Cristiano Duarte" <cunha17@uol.com.br> wrote in message news:20030901010438.62974.qmail@pb1.pair.com... > I want to iterate through parents of some class. > The function get_parent_class is not enough since it retrieves only the > first parent of an instance. > Is there a way to retrieve the parents of a class without having an instance > of this class ? And if I have an instance, can I retrieve all parent > classes? > > Cristiano Duarte.

« previous php.general (#161351) next »