Re: Calling parent's constructor
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 13 Dec 2000 22:14:09 +0000 |
| Subject: | Re: Calling parent's constructor | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41232@lists.php.net to get a copy of this message | ||
On Wed, 13 Dec 2000, Andrei Zmievski wrote:
> On Wed, 13 Dec 2000, Ignacio Vazquez-Abrams wrote:
> > Does get_parent_class() work for you?
>
> I wrote that function, so I'd use it if it was of help. :)
>
> But this doesn't work:
>
> $parent = get_parent_class();
> parent::$parent();
>
> -Andrei
> * It's an emergent property of human minds to create. *
>
How about eval("$parent::$parent()")?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>