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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to