Re: Calling parent's constructor
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 13 Dec 2000 22:18:28 +0000 |
| Subject: | Re: Calling parent's constructor | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41235@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:
> > How about eval("$parent::$parent()")?
>
> That's dirty. :) I mean, since we have parent:: it makes sense to
> recognize "parent" as a special function name when used in
> parent::parent expression..
>
> -Andrei
>
> "I think it would be a good idea." -- Mahatma Gandhi,
> when asked what he thought of Western civilization...
>
How about a call_parent_constructor() function that wouldn't even require
parent::?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>